gnupg.git
15 years ago* configure.ac: Add a min_automake_version.
Werner Koch [Tue, 9 Dec 2003 09:12:43 +0000 (09:12 +0000)]
* configure.ac: Add a min_automake_version.
* README.CVS: New.
* autogen.sh: Revamped except for the --build-w32 hack.
* Makefile.am: Add README.CVS

15 years ago* gpg.sgml: Fix a few missing semicolons in & entities. Noted by
David Shaw [Tue, 9 Dec 2003 05:09:37 +0000 (05:09 +0000)]
* gpg.sgml: Fix a few missing semicolons in & entities.  Noted by
Christian Biere.  Some minor grammar fixes.  Remove the "host -l pgp.net |
grep wwwkeys" advice since the nameserver no longer all allow zone
transfers.  Replace it with a mention of hkp://subkeys.pgp.net.  Note that
BZIP2 defaults to compression level 6.

15 years ago* gpgsplit.c (write_part): Split off decompression code. (handle_zlib):
David Shaw [Sat, 6 Dec 2003 20:02:59 +0000 (20:02 +0000)]
* gpgsplit.c (write_part): Split off decompression code. (handle_zlib):
Move it here. (handle_bzip2): Add this to handle BZIP2 compressed
messages.

15 years ago* http.c (send_request): Add a Host: header for virtual hosts.
David Shaw [Sat, 6 Dec 2003 18:35:32 +0000 (18:35 +0000)]
* http.c (send_request): Add a Host: header for virtual hosts.

15 years ago* Makefile.am: Reenable tests now that the Elgamal signature keys are
David Shaw [Fri, 5 Dec 2003 13:32:48 +0000 (13:32 +0000)]
* Makefile.am: Reenable tests now that the Elgamal signature keys are
gone.

* defs.inc, pubring.asc, secring.asc, plain-1.asc, plain-2.asc,
plain-3.asc: Remove the old v3 Elgamal keys and replace with RSA+Elgamal
and RSA s+e.

15 years ago* miscutil.c (answer_is_yes_no_default, answer_is_yes_no_quit): Don't use
David Shaw [Fri, 5 Dec 2003 04:20:47 +0000 (04:20 +0000)]
* miscutil.c (answer_is_yes_no_default, answer_is_yes_no_quit): Don't use
alternate strings when not needed so we don't have to re-translate them.
Hopefully the comment will be enough to indicate multiple match strings.

15 years ago* config.links: Show target in asm-syntax.h file and include targets for
David Shaw [Fri, 5 Dec 2003 04:15:31 +0000 (04:15 +0000)]
* config.links: Show target in asm-syntax.h file and include targets for
K*BSD (GNU userland with BSD kernel).

15 years ago* cipher.h: Make cipher list match 2440bis-09.
David Shaw [Thu, 4 Dec 2003 05:24:32 +0000 (05:24 +0000)]
* cipher.h: Make cipher list match 2440bis-09.

15 years ago* pubkey.c (setup_pubkey_table): Don't allow signatures to and from
David Shaw [Thu, 4 Dec 2003 05:17:56 +0000 (05:17 +0000)]
* pubkey.c (setup_pubkey_table): Don't allow signatures to and from
encrypt-only Elgamal keys. (pubkey_get_npkey, pubkey_get_nskey,
pubkey_get_nsig, pubkey_get_nenc, pubkey_nbits): Wrap the RSA cheats in
!USE_RSA. Add cheats for sign+encrypt Elgamal.

15 years ago* g10.c (strusage, main): Show development version warning in --version
David Shaw [Thu, 4 Dec 2003 04:58:12 +0000 (04:58 +0000)]
* g10.c (strusage, main): Show development version warning in --version
output. (main): Set --bzip2-compress-level to the default value at
startup.  Remove --emulate-checksum-bug noop.

15 years ago* options: Remove emulate-md-encode-bug.
David Shaw [Thu, 4 Dec 2003 04:38:56 +0000 (04:38 +0000)]
* options: Remove emulate-md-encode-bug.

15 years ago* options.h, g10.c (main), main.h, seskey.c (do_encode_md,
David Shaw [Thu, 4 Dec 2003 04:34:08 +0000 (04:34 +0000)]
* options.h, g10.c (main), main.h, seskey.c (do_encode_md,
encode_md_value), sig-check.c (do_check), sign.c (do_sign): Remove
--emulate-md-encode-bug as it only applied to Elgamal signatures, which
are going away.

15 years ago* NEWS: Note --disable-rsa.
David Shaw [Mon, 1 Dec 2003 00:48:16 +0000 (00:48 +0000)]
* NEWS: Note --disable-rsa.

* configure.ac: Add --disable-rsa.

* README: Add --with-zlib, --with-bzip2, --without-bzip2, --disable-rsa,
and --enable-minimal.  Update gettext version.

15 years ago* pubkey.c (setup_pubkey_table): Only include RSA if USE_RSA is defined.
David Shaw [Mon, 1 Dec 2003 00:43:51 +0000 (00:43 +0000)]
* pubkey.c (setup_pubkey_table): Only include RSA if USE_RSA is defined.
(pubkey_get_npkey): Return 2 for RSA even if it isn't available so we can
at least handle RSA keys.

----------------------------------------------------------------------
pubkey.c CVS:
----------------------------------------------------------------------

15 years ago* README: Update version number. Add BZIP2. Remove Elgamal sign+encrypt.
David Shaw [Mon, 1 Dec 2003 00:02:06 +0000 (00:02 +0000)]
* README: Update version number.  Add BZIP2.  Remove Elgamal sign+encrypt.

15 years ago* mainproc.c (proc_symkey_enc, proc_encrypted): Add ability to use
David Shaw [Sun, 30 Nov 2003 15:33:04 +0000 (15:33 +0000)]
* mainproc.c (proc_symkey_enc, proc_encrypted): Add ability to use
--override-session-key on --symmetric messages (new-style or old-style).
(proc_pubkey_enc): Move code to show session key from here to
proc_encrypted() so it can work with any type of message. Suggested by
Michael Young.

15 years ago* trustdb.c (validate_keys): Reset the trustdb before checking if we have
David Shaw [Sun, 30 Nov 2003 00:33:27 +0000 (00:33 +0000)]
* trustdb.c (validate_keys): Reset the trustdb before checking if we have
any ultimately trusted keys.  This ensures that if we lose all our
ultimately trusted keys, we don't leave behind the old validity
calculations.  Noted by Peter Palfrader.

* revoke.c (gen_desig_revoke): Specify in the comment when a designated
revocation is generated.

* getkey.c (merge_selfsigs_main, merge_selfsigs_subkey,
get_seckey_byname2): Remove Elgamal check since we are removing type 20
keys altogether.

15 years agopost release version number bumb
Werner Koch [Thu, 27 Nov 2003 17:23:56 +0000 (17:23 +0000)]
post release version number bumb

15 years ago(TESTS): Temporary remove tests using ElG signatures. V1-3-4
Werner Koch [Thu, 27 Nov 2003 16:57:41 +0000 (16:57 +0000)]
(TESTS): Temporary remove tests using ElG signatures.

15 years agoabout to release 1.3.4
Werner Koch [Thu, 27 Nov 2003 16:45:28 +0000 (16:45 +0000)]
about to release 1.3.4

15 years ago* NEWS: Note that we won't encrypt to an Elgamal sign+encrypt key any
David Shaw [Thu, 27 Nov 2003 14:59:08 +0000 (14:59 +0000)]
* NEWS: Note that we won't encrypt to an Elgamal sign+encrypt key any
longer.

15 years agoMinor additions
Werner Koch [Thu, 27 Nov 2003 14:50:44 +0000 (14:50 +0000)]
Minor additions

15 years ago* pubkey.c (pubkey_sign): Return an error if an ElGamal key is used.
Werner Koch [Thu, 27 Nov 2003 14:47:59 +0000 (14:47 +0000)]
* pubkey.c (pubkey_sign): Return an error if an ElGamal key is used.

* elgamal.c (gen_k): New arg SMALL_K.
(sign): Use it here with SMALL_K set to false
(do_encrypt): and here with SMALL_K set to true.

15 years ago* pkclist.c (build_pk_list): Do not allow an empty PK list in interactive
David Shaw [Thu, 27 Nov 2003 14:47:00 +0000 (14:47 +0000)]
* pkclist.c (build_pk_list): Do not allow an empty PK list in interactive
mode.

* getkey.c (get_seckey_byname2): Disallow use of sign+encrypt Elgamal
keys.

15 years agoSolved cvs conflict
Werner Koch [Thu, 27 Nov 2003 13:55:24 +0000 (13:55 +0000)]
Solved cvs conflict

15 years agoAuto-updates
Werner Koch [Thu, 27 Nov 2003 13:54:37 +0000 (13:54 +0000)]
Auto-updates

15 years ago* keygen.c (ask_algo): Remove ability to generate Elgamal sign+encrypt
David Shaw [Thu, 27 Nov 2003 13:53:34 +0000 (13:53 +0000)]
* keygen.c (ask_algo): Remove ability to generate Elgamal sign+encrypt
keys.

* getkey.c (merge_selfsigs_main, merge_selfsigs_subkey): Disallow use of
sign+encrypt Elgamal keys.

15 years ago* configure.ac: Use MSG_NOTICE instead of MSG_WARN for less serious
David Shaw [Thu, 27 Nov 2003 13:43:21 +0000 (13:43 +0000)]
* configure.ac: Use MSG_NOTICE instead of MSG_WARN for less serious
notifications.

* NEWS: I meant "less" not "more".

15 years ago(get_key): Fixed invalid use of fprintf without
Werner Koch [Thu, 27 Nov 2003 12:16:43 +0000 (12:16 +0000)]
(get_key): Fixed invalid use of fprintf without
format string.

15 years ago* gpg.sgml: Note the new combinations with --symmetric and --encrypt.
David Shaw [Fri, 21 Nov 2003 05:13:23 +0000 (05:13 +0000)]
* gpg.sgml: Note the new combinations with --symmetric and --encrypt.
Document --bzip2-compress-level, and --bzip2-compress-lowmem.  Clarify the
plurarility (or not) of various list and verify options.  Document BZIP2
in the --compress-algo section.  Warn about compatibility issues with ZLIB
and BZIP2.

15 years ago* gpg.sgml: Document --compress-level. Some minor tweaks to other
David Shaw [Fri, 21 Nov 2003 01:26:29 +0000 (01:26 +0000)]
* gpg.sgml: Document --compress-level.  Some minor tweaks to other
entries.

* TRANSLATE: New, note to translators about the yes|yes multiple match
syntax.

* Makefile.am: Include TRANSLATE in distributed files.

15 years ago* config.links: sparc64 assembler doesn't work on FreeBSD or OpenBSD
David Shaw [Fri, 21 Nov 2003 01:13:55 +0000 (01:13 +0000)]
* config.links: sparc64 assembler doesn't work on FreeBSD or OpenBSD
either.

15 years ago* seskey.c (do_encode_md): Comment about earlier (pre-PGP 2.3) encodings.
David Shaw [Fri, 21 Nov 2003 01:11:25 +0000 (01:11 +0000)]
* seskey.c (do_encode_md): Comment about earlier (pre-PGP 2.3) encodings.

* misc.c (compress_algo_to_string): Translate "Uncompressed". Requested by
Tommi Vainikainen. (string_to_compress_algo): Include multi-string for
"uncompressed|none".

15 years ago* util.h: Add prototype for match_multistr().
David Shaw [Fri, 21 Nov 2003 01:03:51 +0000 (01:03 +0000)]
* util.h: Add prototype for match_multistr().

15 years ago* miscutil.c (match_multistr): New. Match against each segment in a
David Shaw [Fri, 21 Nov 2003 01:02:04 +0000 (01:02 +0000)]
* miscutil.c (match_multistr): New.  Match against each segment in a
string with tokens separated by |. (answer_is_yes_no_default,
answer_is_yes_no_quit, answer_is_okay_cancel): Use it here to enable
alternate translations.

15 years ago* options.h, g10.c (main), compress-bz2.c (init_uncompress): Add
David Shaw [Tue, 18 Nov 2003 02:52:35 +0000 (02:52 +0000)]
* options.h, g10.c (main), compress-bz2.c (init_uncompress): Add
--bz2-compress-lowmem to set bzlib "small" flag for low memory (but slow)
decompression.

15 years ago* compress.c (init_compress): Remove compress level 10 trick, since it is
David Shaw [Sat, 15 Nov 2003 23:54:14 +0000 (23:54 +0000)]
* compress.c (init_compress): Remove compress level 10 trick, since it is
no longer needed.

* g10.c: Fix typoed option name.

* compress-bz2.c (init_compress): Compression level 0 is not meaningful
for bzip2.

15 years ago* options.h, g10.c (main), compress.c (init_compress), compress-bz2.c
David Shaw [Sat, 15 Nov 2003 22:31:58 +0000 (22:31 +0000)]
* options.h, g10.c (main), compress.c (init_compress), compress-bz2.c
(init_compress): Add --compress-level and --bzip2-compress-level.  -z sets
them both.  Change various callers.

15 years ago* encode.c (encode_simple), sign.c (sign_symencrypt_file): Properly use
David Shaw [Sat, 15 Nov 2003 15:38:43 +0000 (15:38 +0000)]
* encode.c (encode_simple), sign.c (sign_symencrypt_file): Properly use
default_compress_algo (--compress-algo, followed by the highest
--personal-compress-preference, followed by ZIP) to get the algorithm.

15 years ago* options.h, trustdb.c (trust_model_string, init_trustdb): Add support for
David Shaw [Sat, 15 Nov 2003 00:19:49 +0000 (00:19 +0000)]
* options.h, trustdb.c (trust_model_string, init_trustdb): Add support for
"external" trust model, where the user can provide a pregenerated trustdb.

* keyedit.c (keyedit_menu): Do not allow editing ownertrust with an
external trust model trustdb.

15 years ago* options.h, g10.c, keyedit.c, keylist.c, mainproc.c: Clarify the
David Shaw [Fri, 14 Nov 2003 05:06:19 +0000 (05:06 +0000)]
* options.h, g10.c, keyedit.c, keylist.c, mainproc.c: Clarify the
plurarility (or not) of various list and verify options.

15 years ago* NEWS: Note BZIP2.
David Shaw [Thu, 13 Nov 2003 04:02:17 +0000 (04:02 +0000)]
* NEWS: Note BZIP2.

15 years ago* g10.c (main): Add --symmetric --sign --encrypt.
David Shaw [Thu, 13 Nov 2003 02:54:12 +0000 (02:54 +0000)]
* g10.c (main): Add --symmetric --sign --encrypt.

* main.h, encode.c (setup_symkey): New.  Prompt for a passphrase and
create a DEK for symmetric encryption. (write_symkey_enc): New.  Write out
symmetrically encrypted session keys. (encode_crypt, encrypt_filter): Use
them here here when creating a message that can be decrypted with a
passphrase or a pk.

* sign.c (sign_file): Call setup_symkey if we are doing a --symmetric
--sign --encrypt.

15 years ago* configure.ac: Make sure that the resolver API actually compiles, and not
David Shaw [Thu, 13 Nov 2003 01:06:40 +0000 (01:06 +0000)]
* configure.ac: Make sure that the resolver API actually compiles, and not
just that the right functions exist.

15 years ago* mainproc.c (proc_symkey_enc): Don't show algorithm information when
David Shaw [Mon, 10 Nov 2003 04:33:13 +0000 (04:33 +0000)]
* mainproc.c (proc_symkey_enc): Don't show algorithm information when
--quiet is set.  Suggested by Duncan Harris.  Also don't fail with BUG()
when processing a --symmetric message with a cipher we don't have.

* g10.c: Alias --personal-xxx-prefs to --personal-xxx-preferences.

15 years ago* pkclist.c (build_pk_list): When adding recipients interactively, allow
David Shaw [Mon, 10 Nov 2003 01:30:12 +0000 (01:30 +0000)]
* pkclist.c (build_pk_list): When adding recipients interactively, allow
the user to stop at any point.

15 years ago* http.c (connect_server): Differentiate between generic "can't connect"
David Shaw [Sat, 1 Nov 2003 14:27:10 +0000 (14:27 +0000)]
* http.c (connect_server): Differentiate between generic "can't connect"
errors and the more specific "host not found". Suggested by Samuel
Tardieu.

15 years ago* trustdb.h, trustdb.c (register_trusted_keyid): New. Adds a keyid to the
David Shaw [Sat, 1 Nov 2003 01:13:16 +0000 (01:13 +0000)]
* trustdb.h, trustdb.c (register_trusted_keyid): New.  Adds a keyid to the
list of ultimately trusted keys.

* keygen.c (do_generate_keypair): Use it here so that the ultimate
ownertrust happens before the trustdb (might be) rebuilt.  Also fix an
error where the newly generated pk is thought to be a subkey by the
trustdb.

* g10.c (main): Fix --export-all do actually do something different than
--export.

* pkclist.c (build_pk_list): Show all recipients rather than showing each
recipient as they are added.

* mainproc.c (proc_symkey_enc, proc_encrypted): Keep a count of the number
of passphrases that can decrypt a symmetric or mixed symmetric/pk message
and include it in the list of keys shown to the user.

15 years ago* configure.ac: Locate libbz2 for bzip2 compression support.
David Shaw [Fri, 31 Oct 2003 05:39:41 +0000 (05:39 +0000)]
* configure.ac: Locate libbz2 for bzip2 compression support.

15 years ago* misc.c (compress_algo_to_string, string_to_compress_algo,
David Shaw [Fri, 31 Oct 2003 05:39:02 +0000 (05:39 +0000)]
* misc.c (compress_algo_to_string, string_to_compress_algo,
check_compress_algo): Add bzip2.

* compress.c (compress_filter): Make static to help force the use of
push_compress_filter.  Remove default algorithm setting since that is done
in push_compress_filter now.

* main.h: Use named algorithm.

* filter.h, compress.c (push_compress_filter, push_compress_filter2): New.
Figure out which is the appropriate compression filter to use, and push it
into place.

* compress.c (handle_compressed), encode.c (encode_simple, encode_crypt),
sign.c (sign_file, sign_symencrypt_file), import.c (read_block), export.c
(do_export): Use push_compress_filter instead of pushing the compression
filter ourselves.

* compress-bz2.c: New.  Bzlib versions of the compression filter routines.

* Makefile.am: Include compress-bz2.c if bz2lib is available.

15 years ago* cipher.h: Add COMPRESS_ALGO_BZIP2.
David Shaw [Fri, 31 Oct 2003 05:07:40 +0000 (05:07 +0000)]
* cipher.h: Add COMPRESS_ALGO_BZIP2.

15 years ago(close_ct_reader, close_pcsc_reader): Implemented.
Werner Koch [Thu, 30 Oct 2003 09:30:20 +0000 (09:30 +0000)]
(close_ct_reader, close_pcsc_reader): Implemented.
(get_ccid_error_string): New.  Not very useful messages, though.

15 years ago* cardglue.c (open_card): Ask for card insertion.
Werner Koch [Wed, 29 Oct 2003 10:07:44 +0000 (10:07 +0000)]
* cardglue.c (open_card): Ask for card insertion.
(check_card_serialno): New.
(agent_scd_pksign, agent_scd_pkdecrypt): Use it here.
* cardglue.c (open_card): Issue insertion status message.
* status.h, status.c (STATUS_CARDCTRL): New.

* status.c (cpr_get_answer_okay_cancel): New.

* miscutil.c (answer_is_okay_cancel): New.

15 years ago* DETAILS: Add the 'a' value for field 12 and the new field 15.
Werner Koch [Tue, 28 Oct 2003 09:25:06 +0000 (09:25 +0000)]
* DETAILS: Add the 'a' value for field 12 and the new field 15.

* keylist.c (list_keyblock_print): Denote secrets keys stored on a
card with an '>'. Print the '#' also for subkeys.
(list_keyblock_colon): Introduce new field 15 for sec/ssb to print
the serial number.

15 years ago* NEWS: Note --symmetric --encrypt and the improved config file search.
David Shaw [Sun, 26 Oct 2003 15:56:53 +0000 (15:56 +0000)]
* NEWS: Note --symmetric --encrypt and the improved config file search.

* configure.ac: Add SAFE_VERSION_DOT and SAFE_VERSION_DASH.

15 years ago* g10.c (main): Enhance the version-specific config file code to try for
David Shaw [Sun, 26 Oct 2003 15:49:44 +0000 (15:49 +0000)]
* g10.c (main): Enhance the version-specific config file code to try for
more specific matches before giving up (e.g. 1.3.3-cvs, 1.3.3, 1.3, 1).

15 years ago* g10.c (main): Add --symmetric --encrypt command. This generates a
David Shaw [Sun, 26 Oct 2003 03:26:14 +0000 (03:26 +0000)]
* g10.c (main): Add --symmetric --encrypt command.  This generates a
message that can be decrypted via a passphrase or public key system.

* main.h, encode.c (encode_seskey): Allow passing in an already-created
session key dek. (encode_simple): Use the actual symmetric cipher when
encrypting a session key for a symmetric message. (encode_crypt): Add a
flag to trigger a hybrid mode that can be decrypted via a passphrase or a
pk.  Change all callers.

* mainproc.c (symkey_decrypt_sesskey): There is no way to tell the
difference here between a bad passphrase and a cipher algorithm that we
don't have, so use a error message that makes that clear. Use the actual
list of ciphers when checking whether a cipher is invalid.  Return error
if the decrypted cipher algorithm is invalid. (proc_symkey_enc): In a
mixed passphrase/pk message, if a valid dek already exists from decrypting
via pk, do not try to process the passphrase. (proc_symkey_enc): Indicate
when we're decrypting a session key as opposed to decrypting data.  If a
passphrase is invalid, discard the dek so we'll keep trying.

15 years agoUpdated to 0.12.1
Werner Koch [Sat, 25 Oct 2003 16:34:36 +0000 (16:34 +0000)]
Updated to 0.12.1

15 years agoGettexized
Werner Koch [Sat, 25 Oct 2003 16:30:04 +0000 (16:30 +0000)]
Gettexized

15 years agoReplaced INTLLIBS by LIBINTL.
Werner Koch [Sat, 25 Oct 2003 16:28:15 +0000 (16:28 +0000)]
Replaced INTLLIBS by LIBINTL.

15 years agoUpdated required versions and add -I m4 to aclocal.
Werner Koch [Sat, 25 Oct 2003 16:27:59 +0000 (16:27 +0000)]
Updated required versions and add -I m4 to aclocal.

15 years agoNew.
Werner Koch [Sat, 25 Oct 2003 16:27:24 +0000 (16:27 +0000)]
New.

15 years ago(gpgkeys_hkp_LDADD): Replaced INTLLIBS by LIBINTL.
Werner Koch [Sat, 25 Oct 2003 16:26:52 +0000 (16:26 +0000)]
(gpgkeys_hkp_LDADD): Replaced INTLLIBS by LIBINTL.

15 years ago* ccid-driver.c (ccid_open_reader): Return an error if no USB
Werner Koch [Sat, 25 Oct 2003 16:26:29 +0000 (16:26 +0000)]
* ccid-driver.c (ccid_open_reader): Return an error if no USB
devices are found.

* Makefile.am: Replaced INTLLIBS by LIBINTL.

15 years ago* Makefile.am (SUBDIRS): Add intl.
Werner Koch [Sat, 25 Oct 2003 16:26:09 +0000 (16:26 +0000)]
* Makefile.am (SUBDIRS): Add intl.
(ACLOCAL_AMFLAGS): New variable.
(EXTRA_DIST): Add scripts/config.rpath.
* configure.ac (AC_CONFIG_FILES): Add po/Makefile.in,
(AL_LINGUAS): Removed.

15 years ago* g10.c (main) [ENABLE_CARD_SUPPORT]: Add a default for
Werner Koch [Sat, 25 Oct 2003 14:17:24 +0000 (14:17 +0000)]
* g10.c (main) [ENABLE_CARD_SUPPORT]: Add a default for
--pcsc-driver.

* cardglue.c (learn_status_cb): Fixed faulty use of !space.

15 years ago* configure.ac (DLLIBS): Work properly on platforms where dlopen and
David Shaw [Sat, 25 Oct 2003 02:56:33 +0000 (02:56 +0000)]
* configure.ac (DLLIBS): Work properly on platforms where dlopen and
friends are in libc instead of libdl.

15 years ago(apdu_open_reader): Hacks for PC/SC under Windows.
Werner Koch [Fri, 24 Oct 2003 20:50:38 +0000 (20:50 +0000)]
(apdu_open_reader): Hacks for PC/SC under Windows.

15 years ago(DLLIBS): Fixed last change.
Werner Koch [Fri, 24 Oct 2003 16:57:02 +0000 (16:57 +0000)]
(DLLIBS): Fixed last change.

15 years ago(lock_pool) [_AIX]: Don't use plock.
Werner Koch [Thu, 23 Oct 2003 07:38:07 +0000 (07:38 +0000)]
(lock_pool) [_AIX]: Don't use plock.

15 years ago(DLLIBS): Do not include -ldl in the mingw32 case.
Werner Koch [Thu, 23 Oct 2003 07:38:00 +0000 (07:38 +0000)]
(DLLIBS): Do not include -ldl in the mingw32 case.

15 years ago* passphrase.c (ask_passphrase): Add optional promptid arg.
Werner Koch [Tue, 21 Oct 2003 18:22:21 +0000 (18:22 +0000)]
* passphrase.c (ask_passphrase): Add optional promptid arg.
Changed all callers.
* cardglue.c (pin_cb): Use it here, so the machine interface can
tell whether the Admin PIN is requested.

* cardglue.c (agent_scd_checkpin): New.

* misc.c (openpgp_pk_algo_usage): Added AUTH usage.

* app-openpgp.c (check_against_given_fingerprint): New. Factored
out that code elsewhere.
(do_check_pin): New.
* card-util.c (card_edit): New command "passwd".  Add logic to
check the PIN in advance.
(card_status): Add new args to return the serial number.  Changed
all callers.

15 years ago* configure.ac: Include -ldl when card support is used.
David Shaw [Thu, 16 Oct 2003 23:44:03 +0000 (23:44 +0000)]
* configure.ac: Include -ldl when card support is used.

15 years ago* import.c (import_one): Show the keyid when giving the Elgamal slow
David Shaw [Tue, 14 Oct 2003 23:30:14 +0000 (23:30 +0000)]
* import.c (import_one): Show the keyid when giving the Elgamal slow
import warning.

* g10.c (main): Older versions used --comment "" to indicate no comment.
Don't add an empty comment.

15 years ago* keyedit.c (show_key_with_all_names): Ownertrust is only meaningful for
David Shaw [Tue, 14 Oct 2003 00:05:44 +0000 (00:05 +0000)]
* keyedit.c (show_key_with_all_names): Ownertrust is only meaningful for
the PGP or classic trust models.  Both validity and ownertrust are not
meaningful for the always trust model.

15 years ago* srv.c: OSX 10.2.8/Darwin 6.8 seems to have some #include ordering
David Shaw [Mon, 13 Oct 2003 03:32:52 +0000 (03:32 +0000)]
* srv.c: OSX 10.2.8/Darwin 6.8 seems to have some #include ordering
issues?  Move sys/types.h up higher to work around.

15 years agoAlways enable the gen_card_key prototype.
Werner Koch [Sat, 11 Oct 2003 16:32:03 +0000 (16:32 +0000)]
Always enable the gen_card_key prototype.

15 years agoPrepared for next development cycle
Werner Koch [Fri, 10 Oct 2003 16:05:42 +0000 (16:05 +0000)]
Prepared for next development cycle

15 years ago(card_close): New. V1-3-3
Werner Koch [Fri, 10 Oct 2003 15:45:11 +0000 (15:45 +0000)]
(card_close): New.
(agent_scd_change_pin): Implemented.

15 years agoAbout to release 1.3.3
Werner Koch [Fri, 10 Oct 2003 15:32:24 +0000 (15:32 +0000)]
About to release 1.3.3

15 years agoUpdated texinfo files
Werner Koch [Fri, 10 Oct 2003 15:25:01 +0000 (15:25 +0000)]
Updated texinfo files

15 years ago* cardglue.c (card_close): New.
Werner Koch [Fri, 10 Oct 2003 15:12:02 +0000 (15:12 +0000)]
* cardglue.c (card_close): New.
* ccid-driver.c (ccid_close_reader): New.
* apdu.c (close_ccid_reader, close_ct_reader, close_csc_reader)
(close_osc_reader, apdu_close_reader): New.  Not all are properly
implemented yet.
* g10.c (g10_exit): Use close_card.

15 years agoAdd news about OpenPGP card support.
Werner Koch [Fri, 10 Oct 2003 09:29:02 +0000 (09:29 +0000)]
Add news about OpenPGP card support.

15 years ago* primegen.c (gen_prime): Bail out if we try to generate a prime
Werner Koch [Fri, 10 Oct 2003 09:28:26 +0000 (09:28 +0000)]
* primegen.c (gen_prime): Bail out if we try to generate a prime
with less than 16 bits. Include i18n.h.

* POTFILES.in (cipher/primegen.c): Added.

15 years ago* NEWS: Note multiple Comment: support and --sig-keyserver-url.
David Shaw [Fri, 10 Oct 2003 03:19:59 +0000 (03:19 +0000)]
* NEWS: Note multiple Comment: support and --sig-keyserver-url.

15 years ago* g10.c (main): Give a deprecated option warning for --show-keyring,
David Shaw [Fri, 10 Oct 2003 03:05:05 +0000 (03:05 +0000)]
* g10.c (main): Give a deprecated option warning for --show-keyring,
--show-photos, --show-policy-url, --show-notation, and their respective
no- forms.

* options.skel: Remove show-photos and replace with list/verify-options
show-photos.  Remove no-mangle-dos-filenames.

* misc.c (parse_options): Allow for incomplete (but unambiguous) options.

15 years ago* ccid-driver.c (ccid_transceive): Add T=1 chaining for sending.
Werner Koch [Thu, 9 Oct 2003 15:08:12 +0000 (15:08 +0000)]
* ccid-driver.c (ccid_transceive): Add T=1 chaining for sending.

* sign.c (do_sign) [!ENABLE_CARD_SUPPORT]: Return an error for
card keys.

* cardglue.c (agent_scd_pkdecrypt): Implemented.
* pubkey-enc.c (get_it) [ENABLE_CARD_SUPPORT]: Divert decryption
to card

15 years ago* cardglue.c (pin_cb): Detect whether an admin or regular PIN is
Werner Koch [Wed, 8 Oct 2003 15:21:20 +0000 (15:21 +0000)]
* cardglue.c (pin_cb): Detect whether an admin or regular PIN is
requested.
(genkey_status_cb): New.
(agent_scd_genkey): Implemented.

* keygen.c (generate_keypair): New arg CARD_SERIALNO and prepare
parameters for on card key generation. Changed all callers.
(do_generate_keypair): Add new arg card and merged casrd specific
changes from 1.9.
(proc_parameter_file): New arg card, apss it down to
do_generate_keypair and changed all callers.
(gen_card_key): New.

* g10.c: Include cardclue.h.
(main): s/app_set_default_reader_port/card_set_reader_port/.
* cardglue.c (card_set_reader_port): New to address include file
issues.

15 years ago(tty_print_string, tty_print_utf8_string2)
Werner Koch [Wed, 8 Oct 2003 15:20:58 +0000 (15:20 +0000)]
(tty_print_string, tty_print_utf8_string2)
(tty_print_utf8_string): Made string arg const.

15 years ago* primegen.c (gen_prime): Bail out if NBITS is zero. This is
Werner Koch [Mon, 6 Oct 2003 12:09:46 +0000 (12:09 +0000)]
* primegen.c (gen_prime): Bail out if NBITS is zero.  This is
Debian bug #213989 reported by Max <rusmir@tula.net>.

15 years ago2003-10-04 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Sat, 4 Oct 2003 12:55:47 +0000 (12:55 +0000)]
2003-10-04  Timo Schulz  <twoaday@freakmail.de>

        * dynload [WIN32] (dlclose): Do not use CloseHandle but FreeLibrary.

15 years ago* cardglue.c (learn_status_cb): Release values before assignment
Werner Koch [Thu, 2 Oct 2003 10:20:12 +0000 (10:20 +0000)]
* cardglue.c (learn_status_cb): Release values before assignment
so that it can be used by getattr to update the structure.
(agent_scd_getattr): New.

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

15 years ago* g10.c (main): Add --no-groups to zero --group list.
David Shaw [Wed, 1 Oct 2003 15:15:58 +0000 (15:15 +0000)]
* g10.c (main): Add --no-groups to zero --group list.

* encode.c (encode_simple): Allow for 32 bytes (256 bits) of symmetrically
encrypted session key.  Use --s2k-cipher-algo to choose cipher, rather
than the default cipher.

* parse-packet.c (parse_subkeyenc): Give a warning if an symmetrically
encrypted session key is seen without salt.  Show in --list-packets if a
symetrically encrypted session key is present.

* pubkey-enc.c (get_it): Always show cipher-not-in-prefs warning unless
--quiet is set.  Use text name of cipher in warning.

15 years ago* samplekeys.asc: Update 99242560.
David Shaw [Wed, 1 Oct 2003 14:40:55 +0000 (14:40 +0000)]
* samplekeys.asc: Update 99242560.

* gpg.sgml: Document --no-groups.

15 years ago* gpg.sgml: Note web bug behavior of auto-key-retrieve. Note that big
David Shaw [Tue, 30 Sep 2003 21:47:19 +0000 (21:47 +0000)]
* gpg.sgml: Note web bug behavior of auto-key-retrieve.  Note that big
photos mean big keys.  Document --rfc2440.  Document verify-option
show-unusable-uids.

15 years ago* options.h, g10.c (main), mainproc.c (check_sig_and_print): Add
David Shaw [Tue, 30 Sep 2003 21:16:36 +0000 (21:16 +0000)]
* options.h, g10.c (main), mainproc.c (check_sig_and_print): Add
--verify-option show-unusable-uids.

15 years ago* gpg.sgml: Clarify --mangle-dos-filenames, document list-option
David Shaw [Tue, 30 Sep 2003 15:48:04 +0000 (15:48 +0000)]
* gpg.sgml: Clarify --mangle-dos-filenames, document list-option
show-unusable-uids, remove --no-comment (which is now --no-sk-comments),
add --no-comments (to remove --comment), remove --default-comment, and
document --sig-keyserver-url.

15 years ago* NEWS: Note that SHA-256 is read-write now, that TIGER/192 is no more,
David Shaw [Tue, 30 Sep 2003 15:43:21 +0000 (15:43 +0000)]
* NEWS: Note that SHA-256 is read-write now, that TIGER/192 is no more,
that revoked and expired uids are skipped in -r, and that
--no-mangle-dos-filenames is now the default.

15 years ago* gpgv.c (check_trustdb_stale): Stub.
David Shaw [Tue, 30 Sep 2003 15:30:39 +0000 (15:30 +0000)]
* gpgv.c (check_trustdb_stale): Stub.

* trustdb.c (get_validity): Move the up-to-date check to
check_trustdb_stale (new), so that it can be called before validity is
checked.

* keylist.c (list_keyblock_print): Disable the overall key validity
display until it can be thought about more.  Use check_trustdb_stale here
to avoid putting the check warning in the middle of a listed key.

* trustdb.c (init_trustdb): Only verify_own_keys() for those trust models
that it applies to (i.e. classic and OpenPGP).

15 years ago* keygen.c (do_add_key_flags, parse_parameter_usage): Add support
Werner Koch [Tue, 30 Sep 2003 08:00:08 +0000 (08:00 +0000)]
* keygen.c (do_add_key_flags, parse_parameter_usage): Add support
the proposed AUTH key flag.
* getkey.c (fixup_uidnode, merge_selfsigs_main)
(merge_selfsigs_subkey, premerge_public_with_secret): Ditto.
* keylist.c (print_capabilities): Ditto.

* parse-packet.c (parse_key): Allow to parse the divert-to-card
S2K mode.
* build-packet.c (do_secret_key): Handle divert-to-card S2K
* seckey-cert.c (is_secret_key_protected): Ditto.
(check_secret_key): Ditto.

* keygen.c (do_ask_passphrase): Renamed from ask_passphrase.
* passphrase.c (ask_passphrase): New.