gnupg.git
16 years ago* keyedit.c (sign_mk_attrib, trustsig_prompt, sign_uids, keyedit_menu):
David Shaw [Sun, 3 Nov 2002 12:46:52 +0000 (12:46 +0000)]
* keyedit.c (sign_mk_attrib, trustsig_prompt, sign_uids, keyedit_menu):
Prompt for and create a trust signature with "tsign".  This is functional,
but needs better UI text.

* build-packet.c (build_sig_subpkt): Able to build trust and regexp
subpackets.

* pkclist.c (do_edit_ownertrust): Comment.

16 years ago* keygen.c (set_one_pref, keygen_set_std_prefs): Allow using the full
David Shaw [Sun, 3 Nov 2002 00:00:42 +0000 (00:00 +0000)]
* keygen.c (set_one_pref, keygen_set_std_prefs): Allow using the full
algorithm name (CAST5, SHA1) rather than the short form (S3, H2).

* main.h, keygen.c (keygen_get_std_prefs), keyedit.c (keyedit_menu):
Return and use a fake uid packet rather than a string since we already
have a nice parser/printer in keyedit.c:show_prefs.

* main.h, misc.c (string_to_compress_algo): New.

16 years ago* cipher.c (string_to_cipher_algo), md.c (string_to_digest_algo): Allow
David Shaw [Sat, 2 Nov 2002 21:39:37 +0000 (21:39 +0000)]
* cipher.c (string_to_cipher_algo), md.c (string_to_digest_algo): Allow
the Sxxx and Hxxx format for cipher and digest names.

16 years ago* g10.c (main): Add --no-throw-keyid.
David Shaw [Fri, 1 Nov 2002 16:15:45 +0000 (16:15 +0000)]
* g10.c (main): Add --no-throw-keyid.

* keydb.h, encode.c (write_pubkey_enc_from_list), g10.c (main), pkclist.c
(build_pk_list): Add --hidden-recipient (-R) and --hidden-encrypt-to,
which do a single-user variation on --throw-keyid.  The "hide this key"
flag is carried in bit 0 of the pk_list flags field.

* keyserver.c (parse_keyrec): Fix shadowing warning.

16 years ago* Makefile.am: Put gnupg.spec in the root directory so rpm -ta works.
David Shaw [Thu, 31 Oct 2002 18:29:53 +0000 (18:29 +0000)]
* Makefile.am: Put gnupg.spec in the root directory so rpm -ta works.

16 years ago* gnupg.spec.in: Update source ftp path.
David Shaw [Thu, 31 Oct 2002 18:28:35 +0000 (18:28 +0000)]
* gnupg.spec.in: Update source ftp path.

16 years agoadded RISC OS module loading support
Stefan Bellon [Thu, 31 Oct 2002 16:58:47 +0000 (16:58 +0000)]
added RISC OS module loading support

16 years ago* build-packet.c (do_plaintext), encode.c (encode_sesskey, encode_simple,
David Shaw [Thu, 31 Oct 2002 15:40:42 +0000 (15:40 +0000)]
* build-packet.c (do_plaintext), encode.c (encode_sesskey, encode_simple,
encode_crypt), sign.c (write_plaintext_packet): Use wipememory() instead
of memset() to wipe sensitive memory as the memset() might be optimized
away.

16 years ago* util.h: Add wipememory() macro.
David Shaw [Thu, 31 Oct 2002 15:35:24 +0000 (15:35 +0000)]
* util.h: Add wipememory() macro.

16 years ago* configure.ac: Add a check for volatile.
David Shaw [Thu, 31 Oct 2002 15:31:04 +0000 (15:31 +0000)]
* configure.ac: Add a check for volatile.

16 years ago* trustdb.c (check_regexp): Modern regexps require REG_EXTENDED.
David Shaw [Wed, 30 Oct 2002 23:40:05 +0000 (23:40 +0000)]
* trustdb.c (check_regexp): Modern regexps require REG_EXTENDED.

16 years ago* packet.h, trustdb.h, trustdb.c (trust_string): New. Return a string
David Shaw [Wed, 30 Oct 2002 03:11:57 +0000 (03:11 +0000)]
* packet.h, trustdb.h, trustdb.c (trust_string): New.  Return a string
like "fully trusted", "marginally trusted", etc. (get_min_ownertrust):
New.  Return minimum ownertrust. (update_min_ownertrust): New.  Set
minimum ownertrust. (check_regexp): New.  Check a regular epression
against a user ID. (ask_ownertrust): Allow specifying a minimum value.
(get_ownertrust_info): Follow the minimum ownertrust when returning a
letter. (clear_validity): Remove minimum ownertrust when a key becomes
invalid. (release_key_items): Release regexp along with the rest of the
info. (validate_one_keyblock, validate_keys): Build a trust sig chain
while validating.  Call check_regexp for regexps.  Use the minimum
ownertrust if the user does not specify a genuine ownertrust.

* pkclist.c (do_edit_ownertrust): Only allow user to select a trust level
greater than the minimum value.

* parse-packet.c (can_handle_critical): Can handle critical trust and
regexp subpackets.

* trustdb.h, trustdb.c (clear_ownertrusts), delkey.c (do_delete_key),
import.c (import_one): Rename clear_ownertrust to clear_ownertrusts and
have it clear the min_ownertrust value as well.

* keylist.c (list_keyblock_print): Indent uid to match pub and sig.

16 years ago* configure.ac: Add --disable-regex in case some platform just can't
David Shaw [Tue, 29 Oct 2002 22:44:07 +0000 (22:44 +0000)]
* configure.ac: Add --disable-regex in case some platform just can't
handle the regex stuff.  This means they can't fully handle trust sigs
with an attached regex either.

16 years ago* keyedit.c (print_and_check_one_sig, show_key_and_fingerprint,
David Shaw [Tue, 29 Oct 2002 18:00:07 +0000 (18:00 +0000)]
* keyedit.c (print_and_check_one_sig, show_key_and_fingerprint,
menu_addrevoker), keylist.c (list_keyblock_print, print_fingerprint): Show
"T" or the trust depth for trust signatures, and add spaces to some
strings to make room for it.

* packet.h, parse-packet.c (dump_sig_subpkt, parse_one_sig_subpkt,
parse_signature): Parse trust signature values.

* tdbio.h, tdbio.c (tdbio_read_record, tdbio_write_record): Reserve a byte
for the minimum ownertrust value (for use with trust signatures).

16 years agotidied RISC OS filetype support
Stefan Bellon [Tue, 29 Oct 2002 14:37:12 +0000 (14:37 +0000)]
tidied RISC OS filetype support

16 years agofiletype support for RISC OS
Stefan Bellon [Mon, 28 Oct 2002 13:26:44 +0000 (13:26 +0000)]
filetype support for RISC OS

16 years ago* gnupg.spec.in: Use new path for keyserver helpers, /usr/lib is no longer
David Shaw [Sat, 26 Oct 2002 19:45:00 +0000 (19:45 +0000)]
* gnupg.spec.in: Use new path for keyserver helpers, /usr/lib is no longer
used for cipher/hash plugins, and include gpgv, gpgsplit, and the new
gnupg.7 man page.

16 years ago* gpgkeys_hkp.c (main), gpgkeys_ldap.c (main): Add -V flag to output
David Shaw [Thu, 24 Oct 2002 22:33:22 +0000 (22:33 +0000)]
* gpgkeys_hkp.c (main), gpgkeys_ldap.c (main): Add -V flag to output
protocol and program version.

16 years ago * gpg.sgml: Document --refresh-keys.
David Shaw [Thu, 24 Oct 2002 05:48:14 +0000 (05:48 +0000)]
* gpg.sgml: Document --refresh-keys.

* gpg.sgml: Clarify --force-mdc, and document --disable-mdc.

16 years ago* main.h, import.c (sec_to_pub_keyblock, import_secret_one,
David Shaw [Wed, 23 Oct 2002 15:59:45 +0000 (15:59 +0000)]
* main.h, import.c (sec_to_pub_keyblock, import_secret_one,
parse_import_options), g10.c (main): New import-option "convert-sk-to-pk"
to convert a secret key into a public key during import.  It is on by
default.

16 years ago* gpgsplit.c: New options --secret-to-public and --no-split.
Werner Koch [Wed, 23 Oct 2002 08:47:17 +0000 (08:47 +0000)]
* gpgsplit.c: New options --secret-to-public and --no-split.
GNUified the indentation style.

16 years ago* pubkey-enc.c (get_it): Fix segv, test for revoked only when PK
Werner Koch [Wed, 23 Oct 2002 07:11:01 +0000 (07:11 +0000)]
* pubkey-enc.c (get_it): Fix segv, test for revoked only when PK
has been assigned.

16 years ago* Makefile.am: Anything linking with libutil.a needs INTLLIBS as well on
David Shaw [Mon, 21 Oct 2002 20:32:38 +0000 (20:32 +0000)]
* Makefile.am: Anything linking with libutil.a needs INTLLIBS as well on
platforms where INTLLIBS is set.

16 years ago* distfiles, _regex.h: Add _regex.h from glibc 2.3.1.
David Shaw [Sat, 19 Oct 2002 20:36:28 +0000 (20:36 +0000)]
* distfiles, _regex.h: Add _regex.h from glibc 2.3.1.

16 years ago* configure.ac: Regex tests adapted from mutt to decide whether to use the
David Shaw [Sat, 19 Oct 2002 20:34:51 +0000 (20:34 +0000)]
* configure.ac: Regex tests adapted from mutt to decide whether to use the
internal regex code or not.

16 years ago* Makefile.am, regcomp.c, regex.c, regex_internal.c, regex_internal.h,
David Shaw [Sat, 19 Oct 2002 20:24:53 +0000 (20:24 +0000)]
* Makefile.am, regcomp.c, regex.c, regex_internal.c, regex_internal.h,
regexec.c: Add new regex files from glibc 2.3.1.

16 years ago2002-10-18 Timo Schulz <ts@winpt.org>
Timo Schulz [Fri, 18 Oct 2002 15:41:33 +0000 (15:41 +0000)]
2002-10-18  Timo Schulz  <ts@winpt.org>

        * keylist.c: (print_pubkey_info): New.
        (print_seckey_info): New.
        * main.h: Prototypes for the new functions.
        * delkey.c (do_delete_key): Use it here.
        * revoke.c (gen_desig_revoke): Ditto.

16 years agoBumped version number for cvs version
Werner Koch [Fri, 18 Oct 2002 10:41:34 +0000 (10:41 +0000)]
Bumped version number for cvs version

16 years ago* POTFILES.in (hkp.c): Removed. V1-3-0
Werner Koch [Fri, 18 Oct 2002 09:39:04 +0000 (09:39 +0000)]
* POTFILES.in (hkp.c): Removed.

16 years ago* configure.ac: Changed version number comments.
Werner Koch [Fri, 18 Oct 2002 09:32:42 +0000 (09:32 +0000)]
* configure.ac: Changed version number comments.
(ALL_LINGUAS): Removed all except for de.  During development it
might not be a good idea to keep all of them - they get outdated
too soon and diff files will be far too large.

16 years ago* config.links (powerpc-apple-darwin6.1): Disable assembler
Werner Koch [Fri, 18 Oct 2002 09:24:56 +0000 (09:24 +0000)]
* config.links (powerpc-apple-darwin6.1): Disable assembler
due to non-working modules/as.  Suggested by Gordon Worley.

16 years ago* autogen.sh: Allow env variables to override the auto* tool
Werner Koch [Thu, 17 Oct 2002 14:03:11 +0000 (14:03 +0000)]
* autogen.sh: Allow env variables to override the auto* tool
names.  Suggested by Simon Josefsson.

16 years ago* pkclist.c (do_edit_ownertrust): Show all user IDs. This should
Werner Koch [Thu, 17 Oct 2002 13:48:43 +0000 (13:48 +0000)]
* pkclist.c (do_edit_ownertrust): Show all user IDs.  This should
be enhanced to also show the current trust level.  Suggested by
Florian Weimer.

16 years ago* README: Multiple A record rotation works with MINGW32 now, and clarify
David Shaw [Thu, 17 Oct 2002 13:27:13 +0000 (13:27 +0000)]
* README: Multiple A record rotation works with MINGW32 now, and clarify
how it works with LDAP.

16 years ago* http.c (connect_server): Try all A records for names with multiple
David Shaw [Thu, 17 Oct 2002 12:45:58 +0000 (12:45 +0000)]
* http.c (connect_server): Try all A records for names with multiple
addresses until one answers for both MINGW32 and not MINGW32.

16 years ago* g10.c (main): Handle --strict and --no-strict from the command line
David Shaw [Thu, 17 Oct 2002 11:50:46 +0000 (11:50 +0000)]
* g10.c (main): Handle --strict and --no-strict from the command line
before the options file is loaded.

16 years agoFlorian Weimer reminded me about that
Werner Koch [Thu, 17 Oct 2002 11:38:07 +0000 (11:38 +0000)]
Florian Weimer reminded me about that

16 years ago* README: Some typo fixes from Florian Weimer, and bump version number.
David Shaw [Wed, 16 Oct 2002 13:44:07 +0000 (13:44 +0000)]
* README: Some typo fixes from Florian Weimer, and bump version number.

16 years ago* g10.c (main): Disable --textmode when encrypting (symmetric or pk) in
David Shaw [Tue, 15 Oct 2002 17:01:04 +0000 (17:01 +0000)]
* g10.c (main): Disable --textmode when encrypting (symmetric or pk) in
--pgp2 mode as PGP 2 can't handle the unknown length literal packet.
Reported by Michael Richardson.

16 years ago* NEWS: Some 1.3 notes.
David Shaw [Tue, 15 Oct 2002 16:34:54 +0000 (16:34 +0000)]
* NEWS: Some 1.3 notes.

16 years ago* gpgkeys_hkp.c (write_quoted): Use %-encoding instead of \-encoding.
David Shaw [Mon, 14 Oct 2002 20:01:05 +0000 (20:01 +0000)]
* gpgkeys_hkp.c (write_quoted): Use %-encoding instead of \-encoding.
(parse_hkp_index): Use new keyserver key listing format, and add support
for disabled keys via include-disabled.

16 years ago* gpgkeys_ldap.c (get_key): Don't print keysize unless it's >0.
David Shaw [Mon, 14 Oct 2002 19:02:11 +0000 (19:02 +0000)]
* gpgkeys_ldap.c (get_key): Don't print keysize unless it's >0.
(printquoted): Use %-encoding instead of \-encoding. (search_key): Use new
keyserver key listing format.

16 years ago* keyserver.h: Go to KEYSERVER_PROTO_VERSION 1.
David Shaw [Mon, 14 Oct 2002 18:52:32 +0000 (18:52 +0000)]
* keyserver.h: Go to KEYSERVER_PROTO_VERSION 1.

16 years ago* keyserver-internal.h, keyserver.c (print_keyrec, parse_keyrec,
David Shaw [Mon, 14 Oct 2002 18:50:28 +0000 (18:50 +0000)]
* keyserver-internal.h, keyserver.c (print_keyrec, parse_keyrec,
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).

16 years agoAdd simple tool to sign all keys in a keyring
Werner Koch [Mon, 14 Oct 2002 14:14:31 +0000 (14:14 +0000)]
Add simple tool to sign all keys in a keyring

16 years ago* configure.ac (NAME_OF_DEV_URANDOM): Use /dev/urandom for
Werner Koch [Sat, 12 Oct 2002 14:54:42 +0000 (14:54 +0000)]
* configure.ac (NAME_OF_DEV_URANDOM): Use /dev/urandom for
NetBSD.  Reported by Christian Biere.

16 years ago* rndunix.c (my_popen): Make sure that stdin and stderr are
Werner Koch [Sat, 12 Oct 2002 14:54:24 +0000 (14:54 +0000)]
* rndunix.c (my_popen): Make sure that stdin and stderr are
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.

16 years ago* keygen.c (print_status_key_created): New.
Werner Koch [Sat, 12 Oct 2002 11:47:40 +0000 (11:47 +0000)]
* keygen.c (print_status_key_created): New.
(do_generate_keypair): Use it to print the fingerprint.
(generate_subkeypair): Likewise.

16 years ago* DETAILS (KEY_CREATED): Enhanced by fingerprint.
Werner Koch [Sat, 12 Oct 2002 11:47:01 +0000 (11:47 +0000)]
* DETAILS (KEY_CREATED): Enhanced by fingerprint.

16 years ago* keyedit.c (menu_addrevoker): Properly back out if the signature fails.
David Shaw [Fri, 11 Oct 2002 21:07:03 +0000 (21:07 +0000)]
* keyedit.c (menu_addrevoker): Properly back out if the signature fails.
Also, do not allow appointing the same revoker twice, and report
ALREADY_SIGNED if the user tries it.

16 years ago* http.c (connect_server): Properly handle a single A record that fails
David Shaw [Fri, 11 Oct 2002 02:24:59 +0000 (02:24 +0000)]
* http.c (connect_server): Properly handle a single A record that fails
connect().

16 years ago* gpgkeys_ldap.c (search_key, main): Make sure LDAP values are freed in
David Shaw [Wed, 9 Oct 2002 02:25:43 +0000 (02:25 +0000)]
* gpgkeys_ldap.c (search_key, main): Make sure LDAP values are freed in
case of error.

16 years ago* gpgkeys_ldap.c (fail_all): New function to unwind a keylist and error
David Shaw [Wed, 9 Oct 2002 02:03:22 +0000 (02:03 +0000)]
* gpgkeys_ldap.c (fail_all): New function to unwind a keylist and error
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.

16 years ago* keyserver.h: Add new error code KEYSERVER_UNREACHABLE.
David Shaw [Wed, 9 Oct 2002 01:53:42 +0000 (01:53 +0000)]
* keyserver.h: Add new error code KEYSERVER_UNREACHABLE.

16 years agoAnd changelog :)
David Shaw [Mon, 7 Oct 2002 22:19:27 +0000 (22:19 +0000)]
And changelog :)

16 years ago* import.c (import_keys_internal): Missed one s/inp/inp2/.
David Shaw [Mon, 7 Oct 2002 22:19:11 +0000 (22:19 +0000)]
* import.c (import_keys_internal): Missed one s/inp/inp2/.

* 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.

16 years ago* configure.ac: OpenLDAP 2.0.27 changed the dependencies again. Add a
David Shaw [Mon, 7 Oct 2002 22:15:20 +0000 (22:15 +0000)]
* configure.ac: OpenLDAP 2.0.27 changed the dependencies again. Add a
"LDAPLIBS" variable so users can try and suggest the right dependencies
for their platform.

16 years ago* getkey.c (get_pubkey_direct): Don't cache keys retrieved via this
David Shaw [Fri, 4 Oct 2002 22:12:09 +0000 (22:12 +0000)]
* getkey.c (get_pubkey_direct): Don't cache keys retrieved via this
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.

16 years ago* import.c (import_keys_internal): s/inp/inp2/ to avoid shadowing
Werner Koch [Fri, 4 Oct 2002 05:43:54 +0000 (05:43 +0000)]
* import.c (import_keys_internal): s/inp/inp2/ to avoid shadowing
warning.

* passphrase.c (agent_get_passphrase): Fixed signed/unsigned char
problem in %-escaping.  Noted by Ingo Kl�cker.

16 years ago* options.h, g10.c (main): Add --strict and --no-strict to switch the
David Shaw [Thu, 3 Oct 2002 22:13:04 +0000 (22:13 +0000)]
* options.h, g10.c (main): Add --strict and --no-strict to switch the
log_warning severity level from info to error.

16 years ago* util.h: Add new log_warning logger command which can be switched between
David Shaw [Thu, 3 Oct 2002 22:11:03 +0000 (22:11 +0000)]
* util.h: Add new log_warning logger command which can be switched between
log_info and log_error via log_set_strict.

16 years ago* logger.c (g10_log_warning, log_set_strict): Add new log_warning logger
David Shaw [Thu, 3 Oct 2002 22:10:49 +0000 (22:10 +0000)]
* logger.c (g10_log_warning, log_set_strict): Add new log_warning logger
command which can be switched between log_info and log_error via
log_set_strict.

16 years ago* gpg.sgml: Note that '#' means secret-key-unavailable, and that keyserver
David Shaw [Thu, 3 Oct 2002 21:57:58 +0000 (21:57 +0000)]
* gpg.sgml: Note that '#' means secret-key-unavailable, and that keyserver
schemes are case-insensitive.

* gpg.sgml: Note that --pgp2 disables --textmode when encrypting.

16 years ago* keylist.c (print_capabilities): Secret-parts-missing keys should show
David Shaw [Thu, 3 Oct 2002 19:20:37 +0000 (19:20 +0000)]
* keylist.c (print_capabilities): Secret-parts-missing keys should show
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).

16 years ago* import.c (import_secret_one): Check for an illegal (>110) protection
David Shaw [Wed, 2 Oct 2002 22:01:29 +0000 (22:01 +0000)]
* import.c (import_secret_one): Check for an illegal (>110) protection
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.

16 years ago* longlong.h: Some whitespace changes in HPPA to fix assembler problems on
David Shaw [Wed, 2 Oct 2002 20:15:40 +0000 (20:15 +0000)]
* longlong.h: Some whitespace changes in HPPA to fix assembler problems on
HP-UX.  From David Ellement.

16 years ago* configure.ac: Add an --enable-old-tiger, to revert back to the
David Shaw [Wed, 2 Oct 2002 20:05:37 +0000 (20:05 +0000)]
* configure.ac: Add an --enable-old-tiger, to revert back to the
old OID.

16 years ago* tiger.c (tiger_get_info): Select the OID to use for TIGER at compile
David Shaw [Wed, 2 Oct 2002 19:59:43 +0000 (19:59 +0000)]
* tiger.c (tiger_get_info): Select the OID to use for TIGER at compile
time.

16 years ago* import.c (import_one): Make sure that a newly imported key starts with a
David Shaw [Tue, 1 Oct 2002 17:32:06 +0000 (17:32 +0000)]
* import.c (import_one): Make sure that a newly imported key starts with a
clean ownertrust.

16 years ago* getkey.c (get_pubkey_direct): New.
Werner Koch [Tue, 1 Oct 2002 08:38:24 +0000 (08:38 +0000)]
* getkey.c (get_pubkey_direct): New.
(merge_selfsigs_main): Use it here to look for an ultimately
trusted key.  Using the full get_pubkey might lead to an
infinitive recursion.

16 years ago* keyserver.c (parse_keyserver_uri): Force the keyserver URI scheme to
David Shaw [Mon, 30 Sep 2002 03:28:41 +0000 (03:28 +0000)]
* keyserver.c (parse_keyserver_uri): Force the keyserver URI scheme to
lowercase to be case-insensitive.

16 years ago2002-09-28 David Shaw <dshaw@jabberwocky.com>
David Shaw [Sat, 28 Sep 2002 17:49:38 +0000 (17:49 +0000)]
2002-09-28  David Shaw  <dshaw@jabberwocky.com>

* 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.

16 years agoFrom stable branch
David Shaw [Fri, 27 Sep 2002 19:33:52 +0000 (19:33 +0000)]
From stable branch
* gpgkeys_ldap.c (send_key): Removed non-constant initializers.

16 years ago* Makefile.am, md.c (load_digest_module): TIGER is now always enabled.
David Shaw [Fri, 27 Sep 2002 19:27:24 +0000 (19:27 +0000)]
* Makefile.am, md.c (load_digest_module): TIGER is now always enabled.

16 years ago* configure.ac: Remove --enable-tiger, as TIGER is now always enabled.
David Shaw [Fri, 27 Sep 2002 19:24:19 +0000 (19:24 +0000)]
* configure.ac: Remove --enable-tiger, as TIGER is now always enabled.

16 years ago* tiger.c (tiger_get_info): Use a regular OID. Note that this
Werner Koch [Thu, 26 Sep 2002 09:35:19 +0000 (09:35 +0000)]
* tiger.c (tiger_get_info): Use a regular OID.  Note that this
breaks all TIGER generated signatures; if we want to do something
about it we have to do it in ../g10/sig-check.c .

16 years ago* gpg-agent.c (handle_signal): Flush cache on SIGHUP.
Werner Koch [Thu, 26 Sep 2002 07:10:56 +0000 (07:10 +0000)]
* gpg-agent.c (handle_signal): Flush cache on SIGHUP.
* 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.

16 years ago* Makefile.am: Link gpg with EGDLIBS (i.e. NETLIBS) as EGD uses sockets.
David Shaw [Wed, 25 Sep 2002 11:30:51 +0000 (11:30 +0000)]
* Makefile.am: Link gpg with EGDLIBS (i.e. NETLIBS) as EGD uses sockets.
Remove the old NETLIBS variable since the keyserver stuff is no longer
internal.

16 years ago* Makefile.am: Link bftest with EGDLIBS (i.e. NETLIBS) as EGD uses
David Shaw [Wed, 25 Sep 2002 11:29:14 +0000 (11:29 +0000)]
* Makefile.am: Link bftest with EGDLIBS (i.e. NETLIBS) as EGD uses
sockets.

16 years ago* configure.ac: Add NETLIBS to EGDLIBS when using EGD as EGD uses sockets.
David Shaw [Wed, 25 Sep 2002 11:26:08 +0000 (11:26 +0000)]
* configure.ac: Add NETLIBS to EGDLIBS when using EGD as EGD uses sockets.

16 years ago* import.c (import_keys_stream): Fix compiler type warning.
David Shaw [Tue, 24 Sep 2002 21:20:48 +0000 (21:20 +0000)]
* import.c (import_keys_stream): Fix compiler type warning.

* keyring.c (keyring_rebuild_cache), sig-check.c (check_key_signature2),
import.c (import, chk_self_sigs): Minor language cleanups.

16 years ago* http.c (connect_server): Try all A records for names with multiple
David Shaw [Tue, 24 Sep 2002 21:06:20 +0000 (21:06 +0000)]
* http.c (connect_server): Try all A records for names with multiple
addresses until one answers (not MINGW32).

16 years ago* gpgkeys_ldap.c (ldap_err_to_gpg_err, ldap_to_gpg_err, send_key, get_key,
David Shaw [Tue, 24 Sep 2002 20:17:52 +0000 (20:17 +0000)]
* gpgkeys_ldap.c (ldap_err_to_gpg_err, ldap_to_gpg_err, send_key, get_key,
search_key, main): Some minor error reporting enhancements for use with
GPA (show reasons for KEY FAILED).

16 years ago* gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor error
David Shaw [Tue, 24 Sep 2002 19:50:09 +0000 (19:50 +0000)]
* gpgkeys_hkp.c (send_key, get_key, search_key, main): Some minor error
reporting enhancements for use with GPA.

16 years ago* keyserver.h: Add some new error codes for better GPA support.
David Shaw [Tue, 24 Sep 2002 18:29:57 +0000 (18:29 +0000)]
* keyserver.h: Add some new error codes for better GPA support.

16 years ago* THANKS: Remove duplicate.
David Shaw [Tue, 24 Sep 2002 13:41:51 +0000 (13:41 +0000)]
* THANKS: Remove duplicate.

* NEWS: Bring in cosmetic changes from stable branch.

* configure.ac: Figure out whether the LDAP library supports
ldap_get_option, ld_errno, or neither.

16 years agoadded fast-import to import-options
Stefan Bellon [Mon, 23 Sep 2002 13:03:52 +0000 (13:03 +0000)]
added fast-import to import-options

16 years agoavoid function clone
Stefan Bellon [Sun, 22 Sep 2002 09:20:08 +0000 (09:20 +0000)]
avoid function clone

16 years agoadded trustdb update/check for stream import as well
Stefan Bellon [Sat, 21 Sep 2002 23:59:59 +0000 (23:59 +0000)]
added trustdb update/check for stream import as well

16 years agotrustdb checks/updates after import
Stefan Bellon [Sat, 21 Sep 2002 21:57:22 +0000 (21:57 +0000)]
trustdb checks/updates after import

16 years ago* gpg.sgml: Some minor language cleanup.
David Shaw [Fri, 20 Sep 2002 12:58:26 +0000 (12:58 +0000)]
* gpg.sgml: Some minor language cleanup.

16 years ago* mpicoder.c (do_get_buffer): Avoid zero length allocation.
Werner Koch [Fri, 20 Sep 2002 07:40:01 +0000 (07:40 +0000)]
* mpicoder.c (do_get_buffer): Avoid zero length allocation.
Checked that all callers behave properly when NBYTES returns 0 as
the length of the allocated buffer.

16 years ago* gpgkeys_hkp.c (handle_old_hkp_index): s/input/inp/ to avoid
Werner Koch [Fri, 20 Sep 2002 07:39:54 +0000 (07:39 +0000)]
* gpgkeys_hkp.c (handle_old_hkp_index): s/input/inp/ to avoid
shadowing warning.

16 years agocomment type fix
Werner Koch [Fri, 20 Sep 2002 07:37:44 +0000 (07:37 +0000)]
comment type fix

16 years ago* DETAILS: s/XORed/ORed/.
Werner Koch [Fri, 20 Sep 2002 06:01:14 +0000 (06:01 +0000)]
* DETAILS: s/XORed/ORed/.

16 years agoFrom stable branch
David Shaw [Thu, 19 Sep 2002 17:13:03 +0000 (17:13 +0000)]
From stable branch

* keyserver.c (keyserver_spawn): Properly handle line truncation. Don't
leak memory (~10-20 bytes) on searches.
(keyserver_search_prompt): Cleanup.

* keylist.c (list_keyblock_colon): Show 1F direct key signatures in
--with-colons listing.

16 years ago* gpgkeys_hkp.c (get_key, handle_old_hkp_index, search_key): Properly
David Shaw [Thu, 19 Sep 2002 17:03:42 +0000 (17:03 +0000)]
* gpgkeys_hkp.c (get_key, handle_old_hkp_index, search_key): Properly
handle line truncation.

16 years agoFrom stable branch
David Shaw [Thu, 19 Sep 2002 16:39:16 +0000 (16:39 +0000)]
From stable branch

* configure.ac: Try linking LDAP as just -lldap as it seems very recent
OpenLDAPs (>=2.0.23) support that.

16 years ago* certcheck.c (gpgsm_check_cert_sig): Add cert hash debugging. NEWPG-0-9-2
Werner Koch [Thu, 19 Sep 2002 12:59:57 +0000 (12:59 +0000)]
* certcheck.c (gpgsm_check_cert_sig): Add cert hash debugging.

* certchain.c (find_up): Print info when the cert was not found
by the autorithyKeyIdentifier.

16 years agoFrom stable branch
David Shaw [Wed, 18 Sep 2002 20:37:05 +0000 (20:37 +0000)]
From stable branch

2002-09-14  David Shaw  <dshaw@jabberwocky.com>

* configure.ac: Try linking LDAP without -lresolv first, just in
case the platform has libresolv, but doesn't actually need it to
use LDAP.

2002-09-12  David Shaw  <dshaw@jabberwocky.com>

* NEWS: Note that the old IDEA plugin won't work with post-1.1.90
gpg.