aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyserver.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * keyserver.c (keyserver_spawn): Removed some variablesWerner Koch2001-12-221-10/+7
| | | | | | | | | | | | declaration due to shadowing warnings. * build-packet.c (build_attribute_subpkt): s/index/idx/ to avoid compiler warnig due to index(3). * getkey.c (get_ctx_handle): Use KEYDB_HANDLE as return value. * keylist.c (list_one): Made resname const. * keyedit.c (keyedit_menu): Allow "addphoto" only when --openpgp is not used. * options.skel: Changed one example photo viewer to qiv.
* Photo ID support (actually generic "attribute packet" support, but thereDavid Shaw2001-12-211-243/+67
| | | | | is only one attribute packet defined thus far, and it's a picture)
* * options.in: Remove load-extension tigerWerner Koch2001-12-211-0/+1
| | | | | * Makefile.am (./options): append it if there is such a module.
* Use mkdtemp() to make temp directories. If there is no mkdtemp(), provideDavid Shaw2001-12-201-26/+11
| | | | | one.
* New function to check the permissions of GNUPGHOME and the various filesDavid Shaw2001-12-201-15/+37
| | | | | | | | | that live there for safe permission/ownership (--no-permission-warning to disable) The newer glibcs print scary warnings about using mktemp(). The use here was actually safe, but the warning was bound to confuse people, so here is an arguably better tempname creator that pulls random bits from the pool.
* Much stricter checking of the keyserver URIDavid Shaw2001-12-181-3/+18
| | | | | | | IDEA warning for pk messages encrypted with IDEA (symmetric is already done) Print IDEA warning for each occurance except for secret key protection and unknown cipher from an encrypted message.
* Remove warning - no need to check for control/illegal characters, asDavid Shaw2001-12-171-1/+2
| | | | | utf8_to_native does this for us
* Fix capitalization issuesDavid Shaw2001-12-171-18/+15
|
* * keyserver.c (keyserver_spawn): Assert that we have dropped privs.Werner Koch2001-12-151-13/+41
| | | | | | | | | | | | | | | | | * pubkey-enc.c (get_session_key): Check that the public key algorithm is indeed usable for en/decryption. This avoid a strange error message from pubkey_decrypt if for some reasons a bad algorithm indentifier is passed. * hkp.c (hkp_export): Do not print possible control characters from a keyserver response. (parse_hkp_index): Made uid an unsigned char* because it is passed to isspace(). (hkp_search): Ditto for the char* vars. * g10.c (main): Print the IDEA warning also for -c and -se. * g10.c (get_temp_dir): Assert that we have dropped privs * encode.c (encode_crypt): Include the first key into the --pgp2 check.
* The new keyserver code itselfDavid Shaw2001-12-061-0/+988