gnupg.git
16 years agoFixes to the libgcrypt switch. Basically works now.
Werner Koch [Mon, 23 Jun 2003 15:16:12 +0000 (15:16 +0000)]
Fixes to the libgcrypt switch.  Basically works now.

16 years agoFinished the bulk of changes for gnupg 1.9. This included switching
Werner Koch [Wed, 18 Jun 2003 19:56:13 +0000 (19:56 +0000)]
Finished the bulk of changes for gnupg 1.9.  This included switching
to libgcrypt functions, using shared error codes from libgpg-error,
replacing the old functions we used to have in ../util by those in
../jnlib and ../common, renaming the malloc functions and a couple of
types.  Note, that not all changes are listed below becuause they are
too similar and done at far too many places.  As of today the code
builds using the current libgcrypt from CVS but it is very unlikely
that it actually works.

16 years agoA small step for GnuPG but a huge leap for error codes.
Werner Koch [Thu, 5 Jun 2003 07:14:21 +0000 (07:14 +0000)]
A small step for GnuPG but a huge leap for error codes.
(Sorry, it does not build currently - I need to check it in to avoid
duplicate work.)

16 years agoThis commit was manufactured by cvs2svn to create branch
Repo Admin [Thu, 5 Jun 2003 07:14:21 +0000 (07:14 +0000)]
This commit was manufactured by cvs2svn to create branch
'GNUPG-1-9-BRANCH'.

16 years agoMake use of libgpg-error
Werner Koch [Tue, 3 Jun 2003 19:55:50 +0000 (19:55 +0000)]
Make use of libgpg-error

16 years agoUpdate to gettext 0.11.5
Werner Koch [Tue, 29 Apr 2003 19:09:48 +0000 (19:09 +0000)]
Update to gettext 0.11.5

16 years ago* scdaemon.c: New options --print-atr and --reader-port
Werner Koch [Tue, 29 Apr 2003 19:08:35 +0000 (19:08 +0000)]
* scdaemon.c: New options --print-atr and --reader-port
* apdu.c, apdu.h: New

* card.c, card-p15.c, card-dinsig.c: Allow build without OpenSC.

16 years ago* configure.ac: Build a limited version of scdaemon if libopensc
Werner Koch [Tue, 29 Apr 2003 19:05:17 +0000 (19:05 +0000)]
* configure.ac: Build a limited version of scdaemon if libopensc
is not available.

* configure.ac (ALL_LINUGAS): Removed.

* Makefile.am (ACLOCAL_AMFLAGS): New.
* configure.ac (AM_GNU_GETTEXT_VERSION): New.  Set to 0.11.5.

16 years ago* LINUGAS: NEW.
Werner Koch [Tue, 29 Apr 2003 10:41:31 +0000 (10:41 +0000)]
* LINUGAS: NEW.

16 years ago* configure.ac (ALL_LINUGAS): Removed.
Werner Koch [Tue, 29 Apr 2003 10:37:24 +0000 (10:37 +0000)]
* configure.ac (ALL_LINUGAS): Removed.
* Makefile.am (ACLOCAL_AMFLAGS): New.
* configure.ac (AM_GNU_GETTEXT_VERSION): New.  Set to 0.11.5.

16 years agoCopied wrong files. Fixed.
Werner Koch [Thu, 9 Jan 2003 13:35:32 +0000 (13:35 +0000)]
Copied wrong files.  Fixed.

16 years agoTaken from NewPG
Werner Koch [Thu, 9 Jan 2003 13:31:18 +0000 (13:31 +0000)]
Taken from NewPG

16 years agotaken from NewPG
Werner Koch [Thu, 9 Jan 2003 13:29:36 +0000 (13:29 +0000)]
taken from NewPG

16 years agoThis commit was manufactured by cvs2svn to create branch
Repo Admin [Thu, 9 Jan 2003 13:29:36 +0000 (13:29 +0000)]
This commit was manufactured by cvs2svn to create branch
'GNUPG-1-9-BRANCH'.

16 years agoTaken from NewPG
Werner Koch [Thu, 9 Jan 2003 13:24:01 +0000 (13:24 +0000)]
Taken from NewPG

16 years agoUpdated from latest NewPG project
Werner Koch [Thu, 9 Jan 2003 13:15:07 +0000 (13:15 +0000)]
Updated from latest NewPG project

16 years agoUpdated from NewPG
Werner Koch [Thu, 9 Jan 2003 12:36:05 +0000 (12:36 +0000)]
Updated from NewPG

16 years ago* configure.ac: Bumped version number to 1.9.0-cvs.
Werner Koch [Sat, 19 Oct 2002 09:27:39 +0000 (09:27 +0000)]
* configure.ac: Bumped version number to 1.9.0-cvs.

16 years agoMerged Top directory of NewPG with GnuPG.
Werner Koch [Sat, 19 Oct 2002 07:55:27 +0000 (07:55 +0000)]
Merged Top directory of NewPG with GnuPG.

16 years agoThis commit was manufactured by cvs2svn to create branch
Repo Admin [Sat, 19 Oct 2002 07:55:27 +0000 (07:55 +0000)]
This commit was manufactured by cvs2svn to create branch
'GNUPG-1-9-BRANCH'.

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.

16 years ago* rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.
Werner Koch [Tue, 17 Sep 2002 08:53:07 +0000 (08:53 +0000)]
* rndw32.c (SIZEOF_DISK_PERFORMANCE_STRUCT): Increased to 256.

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

* keyedit.c (menu_addrevoker): The direct key signature for revocation
keys must be at least v4 to carry the revocation key subpacket.  Add a PGP
2.x warning for revocation keys.

* g10.c (check_permissions): Rearrange strings to make translating easier
(don't incorporate string parts).

* keyedit.c (sign_uids): Make strings translatable.

* sig-check.c (check_key_signature2): Make string translatable.

16 years ago* w32reg.c (read_w32_registry_string): Fallback to HLM.
Werner Koch [Mon, 16 Sep 2002 20:37:38 +0000 (20:37 +0000)]
* w32reg.c (read_w32_registry_string): Fallback to HLM.

16 years ago* gpgkeys_mailto.in: Add quasi-RFC-2368 mailto:email@addr?from= syntax so
David Shaw [Mon, 16 Sep 2002 14:35:19 +0000 (14:35 +0000)]
* gpgkeys_mailto.in: Add quasi-RFC-2368 mailto:email@addr?from= syntax so
people can set their own email address to respond to.

* gpgkeys_hkp.c (get_key): Properly respond with KEY FAILED (to gpg) and
"key not found" (to user) on failure.

16 years ago* gpg.sgml: Add rebuild-keydb-caches.
Werner Koch [Sun, 15 Sep 2002 17:57:55 +0000 (17:57 +0000)]
* gpg.sgml: Add rebuild-keydb-caches.

16 years ago* gpgkeys_hkp.c: (search_key, handle_old_hkp_index): Try and request a
David Shaw [Fri, 13 Sep 2002 18:45:36 +0000 (18:45 +0000)]
* gpgkeys_hkp.c: (search_key, handle_old_hkp_index): Try and request a
machine-readable key index.  If the server supports this, pass it through.
If the server does not support it, parse the "index" page.

16 years agoImport from stable branch.
David Shaw [Fri, 13 Sep 2002 12:59:31 +0000 (12:59 +0000)]
Import from stable branch.

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

* getkey.c (check_revocation_keys): Move....
* main.h, sig-check.c (check_revocation_keys): to here.  Also
return the signature_check error code rather than 0/1 and cache
the sig result.

* sig-check.c (check_key_signature2): Divert to
check_revocation_keys if a revocation sig is made by someone other
than the pk owner.

* getkey.c (merge_selfsigs_main): Tidy.

2002-09-13  Werner Koch  <wk@gnupg.org>

* g10.c (main) [__MINGW32__]: Activate oLoadExtension.