summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * keyserver.h: Go to KEYSERVER_PROTO_VERSION 1.David Shaw2002-10-142-0/+6
|
* * keyserver-internal.h, keyserver.c (print_keyrec, parse_keyrec,David Shaw2002-10-143-205/+403
| | | | | | | | | | show_prompt, keyserver_search_prompt, keyserver_spawn): Go to version 1 of the keyserver protocol. This is a better design, similar to --with-colons, that allows for keys with multiple user IDs rather than using multiple keys. It also matches the machine readable pksd format. Also use a prettier --search-keys listing format that can fill different size windows (currently set at 24 lines).
* Add simple tool to sign all keys in a keyringWerner Koch2002-10-141-0/+33
|
* * configure.ac (NAME_OF_DEV_URANDOM): Use /dev/urandom forWerner Koch2002-10-123-1/+7
| | | | | NetBSD. Reported by Christian Biere.
* * rndunix.c (my_popen): Make sure that stdin and stderr areWerner Koch2002-10-122-24/+49
| | | | | | | | connected to a file. This is to avoid NetBSD to complain about set{u,g}id programs invoked with fd 0, 2 closed. Reported by Cristian Biere. (start_gatherer): Likewise. Reordered code.
* * keygen.c (print_status_key_created): New.Werner Koch2002-10-122-1/+27
| | | | | | (do_generate_keypair): Use it to print the fingerprint. (generate_subkeypair): Likewise.
* * DETAILS (KEY_CREATED): Enhanced by fingerprint.Werner Koch2002-10-122-1/+7
|
* * keyedit.c (menu_addrevoker): Properly back out if the signature fails.David Shaw2002-10-112-4/+44
| | | | | | Also, do not allow appointing the same revoker twice, and report ALREADY_SIGNED if the user tries it.
* * http.c (connect_server): Properly handle a single A record that failsDavid Shaw2002-10-112-3/+9
| | | | | connect().
* * gpgkeys_ldap.c (search_key, main): Make sure LDAP values are freed inDavid Shaw2002-10-092-6/+11
| | | | | case of error.
* * gpgkeys_ldap.c (fail_all): New function to unwind a keylist and errorDavid Shaw2002-10-093-6/+85
| | | | | | | | | | | | each item. (main): Call fail_all from here, as needed. Also add a NO_MEMORY error in an appropriate place and fix error return code. (ldap_err_to_gpg_err): Add KEYSERVER_UNREACHABLE. * gpgkeys_hkp.c (fail_all): New function to unwind a keylist and error each item. (main): Call fail_all from here. Also add a NO_MEMORY error in an appropriate place. (get_key): Use new UNREACHABLE error for network errors.
* * keyserver.h: Add new error code KEYSERVER_UNREACHABLE.David Shaw2002-10-092-0/+5
|
* And changelog :)David Shaw2002-10-081-0/+10
|
* * import.c (import_keys_internal): Missed one s/inp/inp2/.David Shaw2002-10-083-9/+15
| | | | | | | | | * keylist.c (print_capabilities): Properly indicate per-key capabilities of sign&encrypt primary keys that have secret-parts-missing (i.e. no capabilities at all) * mainproc.c (symkey_decrypt_sesskey): Fix compiler warning.
* * configure.ac: OpenLDAP 2.0.27 changed the dependencies again. Add aDavid Shaw2002-10-082-5/+14
| | | | | | "LDAPLIBS" variable so users can try and suggest the right dependencies for their platform.
* * getkey.c (get_pubkey_direct): Don't cache keys retrieved via thisDavid Shaw2002-10-053-4/+14
| | | | | | | | | function as they may not have all their fields filled in. * sig-check.c (signature_check2): Use new is_primary flag to check rather than comparing main_keyid with keyid as this still works in the case of a not fully filled in pk.
* * import.c (import_keys_internal): s/inp/inp2/ to avoid shadowingWerner Koch2002-10-043-13/+22
| | | | | | | | warning. * passphrase.c (agent_get_passphrase): Fixed signed/unsigned char problem in %-escaping. Noted by Ingo Kl�cker.
* * options.h, g10.c (main): Add --strict and --no-strict to switch theDavid Shaw2002-10-043-0/+10
| | | | | log_warning severity level from info to error.
* * util.h: Add new log_warning logger command which can be switched betweenDavid Shaw2002-10-042-0/+9
| | | | | log_info and log_error via log_set_strict.
* * logger.c (g10_log_warning, log_set_strict): Add new log_warning loggerDavid Shaw2002-10-042-0/+36
| | | | | | command which can be switched between log_info and log_error via log_set_strict.
* * gpg.sgml: Note that '#' means secret-key-unavailable, and that keyserverDavid Shaw2002-10-032-4/+17
| | | | | | | schemes are case-insensitive. * gpg.sgml: Note that --pgp2 disables --textmode when encrypting.
* * keylist.c (print_capabilities): Secret-parts-missing keys should showDavid Shaw2002-10-034-5/+26
| | | | | | | | | that fact in the capabilities, and only primary signing keys can certify other keys. * packet.h, parse_packet.c (parse_key): Add is_primary flag for public keys (it already exists for secret keys).
* * import.c (import_secret_one): Check for an illegal (>110) protectionDavid Shaw2002-10-037-15/+42
| | | | | | | | | | | | | | | | | | cipher when importing a secret key. * keylist.c (list_keyblock_print): Show a '#' for a secret-parts-missing key. * parse_packet.c (parse_key): Some comments. * revoke.c (gen_revoke): Remove some debugging code. * trustdb.c (verify_own_keys): Make trusted-key a non-deprecated option again. * seckey-cert.c (do_check): Don't give the IDEA warning unless the cipher in question is in fact IDEA.
* * longlong.h: Some whitespace changes in HPPA to fix assembler problems onDavid Shaw2002-10-022-20/+25
| | | | | HP-UX. From David Ellement.
* * configure.ac: Add an --enable-old-tiger, to revert back to theDavid Shaw2002-10-022-0/+14
| | | | | old OID.
* * tiger.c (tiger_get_info): Select the OID to use for TIGER at compileDavid Shaw2002-10-022-0/+14
| | | | | time.
* * import.c (import_one): Make sure that a newly imported key starts with aDavid Shaw2002-10-012-1/+14
| | | | | clean ownertrust.
* * getkey.c (get_pubkey_direct): New.Werner Koch2002-10-012-1/+66
| | | | | | | (merge_selfsigs_main): Use it here to look for an ultimately trusted key. Using the full get_pubkey might lead to an infinitive recursion.
* * keyserver.c (parse_keyserver_uri): Force the keyserver URI scheme toDavid Shaw2002-09-302-0/+13
| | | | | lowercase to be case-insensitive.
* 2002-09-28 David Shaw <dshaw@jabberwocky.com>David Shaw2002-09-284-14/+40
| | | | | | | | | | | | | | * export.c (do_export_stream): Comment. * sig-check.c (check_key_signature2): Properly handle a non-designated revocation import. 2002-09-26 Werner Koch <wk@gnupg.org> * g10.c (set_homedir): New. Changed all direct assignments to use this. * gpgv.c (set_homedir): Ditto.
* From stable branchDavid Shaw2002-09-272-8/+7
| | | | | * gpgkeys_ldap.c (send_key): Removed non-constant initializers.
* * Makefile.am, md.c (load_digest_module): TIGER is now always enabled.David Shaw2002-09-273-6/+10
|
* * configure.ac: Remove --enable-tiger, as TIGER is now always enabled.David Shaw2002-09-272-10/+5
|
* * tiger.c (tiger_get_info): Use a regular OID. Note that thisWerner Koch2002-09-262-15/+10
| | | | | | breaks all TIGER generated signatures; if we want to do something about it we have to do it in ../g10/sig-check.c .
* * gpg-agent.c (handle_signal): Flush cache on SIGHUP.Werner Koch2002-09-265-6/+54
| | | | | | | | * cache.c (agent_flush_cache): New. * gpg-agent.c, agent.h: Add --keep-display and --keep-tty. * query.c (start_pinentry): Implement them. The option passing needs more thoughts.
* * Makefile.am: Link gpg with EGDLIBS (i.e. NETLIBS) as EGD uses sockets.David Shaw2002-09-252-1/+7
| | | | | | Remove the old NETLIBS variable since the keyserver stuff is no longer internal.
* * Makefile.am: Link bftest with EGDLIBS (i.e. NETLIBS) as EGD usesDavid Shaw2002-09-252-1/+6
| | | | | sockets.
* * configure.ac: Add NETLIBS to EGDLIBS when using EGD as EGD uses sockets.David Shaw2002-09-252-0/+7
|
* * import.c (import_keys_stream): Fix compiler type warning.David Shaw2002-09-244-11/+19
| | | | | | * keyring.c (keyring_rebuild_cache), sig-check.c (check_key_signature2), import.c (import, chk_self_sigs): Minor language cleanups.
* * http.c (connect_server): Try all A records for names with multipleDavid Shaw2002-09-242-4/+22
| | | | | addresses until one answers (not MINGW32).
* * gpgkeys_ldap.c (ldap_err_to_gpg_err, ldap_to_gpg_err, send_key, get_key,David Shaw2002-09-242-34/+103
| | | | | | search_key, main): Some minor error reporting enhancements for use with GPA (show reasons for KEY FAILED).
* * gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor errorDavid Shaw2002-09-242-35/+49
| | | | | reporting enhancements for use with GPA.
* * keyserver.h: Add some new error codes for better GPA support.David Shaw2002-09-242-6/+18
|
* * THANKS: Remove duplicate.David Shaw2002-09-244-13/+56
| | | | | | | | * NEWS: Bring in cosmetic changes from stable branch. * configure.ac: Figure out whether the LDAP library supports ldap_get_option, ld_errno, or neither.
* added fast-import to import-optionsStefan Bellon2002-09-235-21/+33
|
* avoid function cloneStefan Bellon2002-09-222-50/+40
|
* added trustdb update/check for stream import as wellStefan Bellon2002-09-222-3/+16
|
* trustdb checks/updates after importStefan Bellon2002-09-212-1/+16
|
* * gpg.sgml: Some minor language cleanup.David Shaw2002-09-202-17/+21
|
* * mpicoder.c (do_get_buffer): Avoid zero length allocation.Werner Koch2002-09-202-3/+12
| | | | | | Checked that all callers behave properly when NBYTES returns 0 as the length of the allocated buffer.