gnupg.git
16 years ago2003-08-26 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Tue, 26 Aug 2003 09:01:18 +0000 (09:01 +0000)]
2003-08-26  Timo Schulz  <twoaday@freakmail.de>

        * apdu.c (new_reader_slot): Only set 'is_osc' when OpenSC
        is used.

16 years ago2003-08-25 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Mon, 25 Aug 2003 21:12:43 +0000 (21:12 +0000)]
2003-08-25  Timo Schulz  <twoaday@freakmail.de>

        * pkglue.c (mpi_from_sexp): New. Used to factor out
        some common code.

16 years ago(cmd_setattr): Use a copy of LINE.
Werner Koch [Mon, 25 Aug 2003 09:58:02 +0000 (09:58 +0000)]
(cmd_setattr): Use a copy of LINE.
(cmd_genkey): Use a copy of KEYNO.
(cmd_passwd): Use a copy of CHVNOSTR.
(cmd_pksign, cmd_pkauth, cmd_pkdecrypt): s/strdup/xtrystrdup/.

16 years ago2003-08-20 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Wed, 20 Aug 2003 20:20:59 +0000 (20:20 +0000)]
2003-08-20  Timo Schulz  <twoaday@freakmail.de>

        * pksign.c (do_encode_md): Allocate enough space. Cast md
        byte to unsigned char to prevent sign extension.

16 years ago2003-08-20 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 20 Aug 2003 17:23:23 +0000 (17:23 +0000)]
2003-08-20  Marcus Brinkmann  <marcus@g10code.de>

* maperror.c (map_ksba_err): Map -1.  Use gpg_err_make to set
the error source.

16 years ago2003-08-20 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 20 Aug 2003 16:53:40 +0000 (16:53 +0000)]
2003-08-20  Marcus Brinkmann  <marcus@g10code.de>

* encrypt.c (encode_session_key): Allocate enough space.  Cast key
byte to unsigned char to prevent sign extension.
(encrypt_dek): Check return value before error.

16 years ago* scdaemon.c, scdaemon.h: New option --pcsc-driver.
Werner Koch [Tue, 19 Aug 2003 09:36:48 +0000 (09:36 +0000)]
* scdaemon.c, scdaemon.h: New option --pcsc-driver.
* apdu.c (apdu_open_reader): Use that option here instead of a
hardcoded one.

16 years ago2003-08-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 19 Aug 2003 02:25:25 +0000 (02:25 +0000)]
2003-08-19  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac (AM_PATH_GPG_ERROR): Add missing comma in
invocation.

16 years ago * mdc.c (use_mdc): Simplified.
Timo Schulz [Mon, 18 Aug 2003 21:32:19 +0000 (21:32 +0000)]
    * mdc.c (use_mdc): Simplified.

16 years ago2003-08-18 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Mon, 18 Aug 2003 21:25:03 +0000 (21:25 +0000)]
2003-08-18  Timo Schulz  <twoaday@freakmail.de>

        * encode.c (encode_sesskey): Checked the code and removed
        the warning since all compatibility checks with PGP succeeded.
        * mainproc.c (symkey_decrypt_sesskey): Better check for the
        algorithm and check the return values of some functions.

16 years ago* scdaemon.c, scdaemon.h: New option --disable-opensc.
Werner Koch [Mon, 18 Aug 2003 17:34:51 +0000 (17:34 +0000)]
* scdaemon.c, scdaemon.h: New option --disable-opensc.
* card.c (card_open): Implement it.
* apdu.c (open_osc_reader, osc_send_apdu): New.
(apdu_open_reader) [HAVE_OPENSC]: Use the opensc driver if not
disabled.
(error_string) [HAVE_OPENSC]: Use sc_strerror.
(send_apdu) [HAVE_OPENSC]: Call osc_apdu_send.

* card-p15.c (p15_enum_keypairs, p15_prepare_key): Adjusted for
libgpg-error.

16 years ago* Makefile.am: Add OPENSC_LIBS to all programs.
Werner Koch [Mon, 18 Aug 2003 17:34:28 +0000 (17:34 +0000)]
* Makefile.am: Add OPENSC_LIBS to all programs.

* scdaemon.c, scdaemon.h: New option --disable-opensc.
* card.c (card_open): Implement it.
* apdu.c (open_osc_reader, osc_send_apdu): New.
(apdu_open_reader) [HAVE_OPENSC]: Use the opensc driver if not
disabled.
(error_string) [HAVE_OPENSC]: Use sc_strerror.
(send_apdu) [HAVE_OPENSC]: Call osc_apdu_send.

16 years agoAdd 'dynload.h' to Makefile.am.
Timo Schulz [Thu, 14 Aug 2003 19:58:03 +0000 (19:58 +0000)]
Add 'dynload.h' to Makefile.am.

16 years ago2003-08-14 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Thu, 14 Aug 2003 19:39:30 +0000 (19:39 +0000)]
2003-08-14  Timo Schulz  <twoaday@freakmail.de>

        * encrypt.c (encode_session_key): Use new Libgcrypt interface.

16 years agoForgot to remove the unsued variable.
Timo Schulz [Thu, 14 Aug 2003 19:10:12 +0000 (19:10 +0000)]
Forgot to remove the unsued variable.

16 years ago2003-08-14 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Thu, 14 Aug 2003 19:06:46 +0000 (19:06 +0000)]
2003-08-14  Timo Schulz  <twoaday@freakmail.de>

        * pksign.c: do_encode_md: Due to the fact pkcs#1 padding
        is now in Libgcrypt, use the new interface.

16 years ago * Always use 'dynload.h' instead of 'dlfcn.h'.
Timo Schulz [Thu, 14 Aug 2003 12:20:08 +0000 (12:20 +0000)]
    * Always use 'dynload.h' instead of 'dlfcn.h'.

16 years ago*** empty log message ***
Timo Schulz [Thu, 14 Aug 2003 12:16:58 +0000 (12:16 +0000)]
*** empty log message ***

16 years ago2003-08-14 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Thu, 14 Aug 2003 12:06:43 +0000 (12:06 +0000)]
2003-08-14  Timo Schulz  <twoaday@freakmail.de>

        * dlfcn.h. New. W32 wrapper around the dynload mechanism.

16 years ago(pk_sign): Fix last change.
Werner Koch [Thu, 7 Aug 2003 07:05:38 +0000 (07:05 +0000)]
(pk_sign): Fix last change.
(pk_verify): Check for valid DATA array so that we don't segv in
Libgcrypt.
(pk_verify): Ditto.

16 years agoBumbed version number
Werner Koch [Tue, 5 Aug 2003 18:55:40 +0000 (18:55 +0000)]
Bumbed version number

16 years agoAbout to release the first 1.9 version.
Werner Koch [Tue, 5 Aug 2003 17:20:18 +0000 (17:20 +0000)]
About to release the first 1.9 version.

16 years agoCleanups, fixes and PC/SC support
Werner Koch [Tue, 5 Aug 2003 17:11:04 +0000 (17:11 +0000)]
Cleanups, fixes and PC/SC support

16 years agoThis commit was manufactured by cvs2svn to create branch
Repo Admin [Tue, 5 Aug 2003 17:11:04 +0000 (17:11 +0000)]
This commit was manufactured by cvs2svn to create branch
'GNUPG-1-9-BRANCH'.

16 years agominor changes to make make distcheck happy
Werner Koch [Thu, 31 Jul 2003 15:45:11 +0000 (15:45 +0000)]
minor changes to make make distcheck happy

16 years ago* gpgsm.c (main): Add secmem features and set the random seed file.
Werner Koch [Tue, 29 Jul 2003 08:53:19 +0000 (08:53 +0000)]
* gpgsm.c (main): Add secmem features and set the random seed file.
(gpgsm_exit): Update the random seed file and enable debug output.

* g10.c (main): Add secmem features and set the random seed file.
(g10_exit): Update the random seed file.

* parse-packet.c (parse_signature,read_protected_v3_mpi)
(parse_key): Fixed use of mpi_set_opaque.
* keygen.c (gen_card_key): Ditto.

16 years agoAdjusted for use with current libgcrypt (1.1.42).
Werner Koch [Mon, 28 Jul 2003 08:59:18 +0000 (08:59 +0000)]
Adjusted for use with current libgcrypt (1.1.42).

16 years ago* g10.c: New command --card-status.
Werner Koch [Thu, 24 Jul 2003 09:06:43 +0000 (09:06 +0000)]
* g10.c: New command --card-status.
* card-util.c (card_status): New.
* call-agent.c (learn_status_cb): Parse more information.

* keylist.c (print_pubkey_info): Add FP arg for optinal printing
to a stream.  Changed all callers.

16 years ago* keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.
Werner Koch [Wed, 23 Jul 2003 07:11:06 +0000 (07:11 +0000)]
* keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.
(do_generate_keypair): Abd generate the authkey.
(check_smartcard): Changed menu accordingly.

16 years ago* export.c (parse_export_options): New option sexp-format.
Werner Koch [Wed, 16 Jul 2003 13:45:15 +0000 (13:45 +0000)]
* export.c (parse_export_options): New option sexp-format.
(export_seckeys,export_secsubkeys): Check sexp-format option.
(do_export): Ignore armor for sexp format.
(do_export_stream): Handle sexp-format.
(write_sexp_line,write_sexp_keyparm, build_sexp_seckey): New.
(build_sexp): New.

16 years agoMinor changes to make make dist work correctly.
Werner Koch [Fri, 4 Jul 2003 09:40:19 +0000 (09:40 +0000)]
Minor changes to make make dist work correctly.

16 years ago* cipher.h (DBG_CIPHER,g10c_debug_mode): Removed.
Werner Koch [Thu, 3 Jul 2003 18:09:55 +0000 (18:09 +0000)]
* cipher.h (DBG_CIPHER,g10c_debug_mode): Removed.

16 years ago* options.h (DBG_CIPHER): Reintroduced it.
Werner Koch [Thu, 3 Jul 2003 18:08:16 +0000 (18:08 +0000)]
* options.h (DBG_CIPHER): Reintroduced it.
* seskey.c (encode_session_key): Debug output of the session key.

* pubkey-enc.c (get_it): Handle card case.
* call-agent.c (agent_scd_pkdecrypt): New.
* pkglue.c (pk_encrypt): Add RSA support.

* g10.c (main): Default to --use-agent.

* keygen.c (show_smartcard): Print info about the public key.
(check_smartcard): Check for existing key here.
(gen_card_key): And not anymore here.
(fpr_is_zero): New.
(generate_keypair): Generate both keys for a card.
(smartcard_change_url): Nw.

16 years ago* app-openpgp.c (store_fpr): Fixed fingerprint calculation.
Werner Koch [Tue, 1 Jul 2003 08:34:45 +0000 (08:34 +0000)]
* app-openpgp.c (store_fpr): Fixed fingerprint calculation.

* keygen.c (gen_card_key): Obviously we should use the creation
date received from SCDAEMON, so that the fingerprints will match.
* sign.c (do_sign): Pass the serialno to the sign code.
* keyid.c (serialno_and_fpr_from_sk): New.

16 years agoKey generation and signing using the OpenPGP card does rudimentary work.
Werner Koch [Fri, 27 Jun 2003 20:53:09 +0000 (20:53 +0000)]
Key generation and signing using the OpenPGP card does rudimentary work.

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

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

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

17 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'.

17 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

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

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

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

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

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

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

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

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

17 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

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

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

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

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

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

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

17 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).

17 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

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

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

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

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

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

17 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().

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

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

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

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

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

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

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

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

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

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

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

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

17 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).

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

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

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

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

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

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

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

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