gnupg.git
16 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.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 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

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

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

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

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

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

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

16 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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 years ago2003-09-28 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Sun, 28 Sep 2003 17:16:03 +0000 (17:16 +0000)]
2003-09-28  Timo Schulz  <twoaday@freakmail.de>

        * util.h [WIN32]: Prototype for asprintf.
        * dynload.h [WIN32]: Define RTLD_LAZY.

16 years ago2003-09-28 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Sun, 28 Sep 2003 17:15:46 +0000 (17:15 +0000)]
2003-09-28  Timo Schulz  <twoaday@freakmail.de>

        * strgutil.c [WIN32] (asprintf): New.

16 years ago(tty_fprintf): New.
Werner Koch [Sun, 28 Sep 2003 13:42:33 +0000 (13:42 +0000)]
(tty_fprintf): New.

16 years ago* util.h: Add the atoi_* and xtoi_* suite of macros from 1.9.
Werner Koch [Sun, 28 Sep 2003 13:42:18 +0000 (13:42 +0000)]
* util.h: Add the atoi_* and xtoi_* suite of macros from 1.9.
* dynload.h: New.  Taken from 1.9.

16 years ago* g10.c (main): New commands --card-edit, --card-status and
Werner Koch [Sun, 28 Sep 2003 13:41:58 +0000 (13:41 +0000)]
* g10.c (main): New commands --card-edit, --card-status and
--change-pin.  New options --ctapi-driver, --pcsc-driver and
--disable-ccid
* options.h (DBG_CARD_IO): New.
* cardglue.c, cardclue.h: Enhanced.
* card-util.c: New. Taken from current the gnupg 1.9 branch.
* app-common.h, app-openpgp.c, iso7816.c, iso7816.h, apdu.c
* apdu.h, ccid-driver.c, ccid-driver.h: New.  Takem from the current
gnupg 1.9 branch withy minor changes to include directives.
* Makefile.am: Added these files.

16 years agoFirst bits of a card support backport from 1.9. It is not enabled by
Werner Koch [Sat, 27 Sep 2003 19:37:53 +0000 (19:37 +0000)]
First bits of a card support backport from 1.9. It is not enabled by
default and tehre is not yet much more than a new configure option.

* configure.ac (LIBUSB_LIBS,HAVE_LIBUSB): Check for Libusb.
(--enable-card-support): New.

* sign.c (do_sign) [ENABLE_CARD_SUPPORT]: Divert to card.
* cardglue.c, cardglue.h: New.
* Makefile.am (gpg_LDADD): Added.
(card_support_sources): New.

* memory.h (xmalloc): Define xmalloc macros in terms of m_alloc.

16 years ago* options.h, g10.c (main), keylist.c (list_keyblock_print): Add
David Shaw [Thu, 25 Sep 2003 04:03:11 +0000 (04:03 +0000)]
* options.h, g10.c (main), keylist.c (list_keyblock_print): Add
"show-unusable-uids" list-option to show revoked and/or expired user IDs.

16 years ago* keyedit.c (show_key_with_all_names): Show names a little neater by
David Shaw [Wed, 24 Sep 2003 12:11:17 +0000 (12:11 +0000)]
* keyedit.c (show_key_with_all_names): Show names a little neater by
putting the [revoked] or [expired] in the space used for the [validity].
There is also no point in showing "[unknown] [revoked]".

16 years ago* sign.c (mk_notation_policy_etc): Capitalize "URL".
David Shaw [Wed, 24 Sep 2003 03:48:55 +0000 (03:48 +0000)]
* sign.c (mk_notation_policy_etc): Capitalize "URL".

* trustdb.c (validate_keys): Give a little more information while
rebuilding trustdb.

* pkclist.c (do_edit_ownertrust): Clarify "don't know".

* g10.c (main): Default to --no-mangle-dos-filenames.

16 years ago* keydb.h, keyring.c (keyring_search), trustdb.c (search_skipfnc): Expand
David Shaw [Tue, 23 Sep 2003 23:14:03 +0000 (23:14 +0000)]
* keydb.h, keyring.c (keyring_search), trustdb.c (search_skipfnc): Expand
the skipfnc to include a pointer to the user ID that matched.

* getkey.c (skip_disabled): Rename to skip_unusable, and add checks for
expired or revoked user IDs.

16 years ago* g10.c (main): Deprecate --default-comment in favor of --no-comments.
David Shaw [Tue, 23 Sep 2003 03:52:55 +0000 (03:52 +0000)]
* g10.c (main): Deprecate --default-comment in favor of --no-comments.

* options.h, g10.c (main), armor.c (armor_filter): Allow using --comment
multiple times to get multiple Comment: header lines. --no-comments resets
list.

16 years ago2003-09-21 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Sun, 21 Sep 2003 17:36:51 +0000 (17:36 +0000)]
2003-09-21  Timo Schulz  <twoaday@freakmail.de>

        * http.c [WIN32]: Define MB_CUR_MAX.
        (connect_server): use unsigned long since W32 does not have in_addr_t.

16 years ago* g10.c (main): Trim --help to commonly used options. Remove -f.
David Shaw [Fri, 12 Sep 2003 03:29:00 +0000 (03:29 +0000)]
* g10.c (main): Trim --help to commonly used options.  Remove -f.

16 years ago* g10.c (main): Error out if --multifile is used with the commands that
David Shaw [Tue, 9 Sep 2003 00:25:53 +0000 (00:25 +0000)]
* g10.c (main): Error out if --multifile is used with the commands that
don't support it yet (--sign, --clearsign, --detach-sign, --symmetric, and
--store).

* g10.c (main): Add --multifile as an alias to turn --encrypt into
--encrypt-files (plus --verify-files, --decrypt-files).

* encode.c (use_mdc), g10.c (main): Use RFC1991 and RFC2440 directly to
check for MDC usability.  Do not set the force_mdc or disable_mdc flags
since there is no point any longer.

16 years agoMissed one.
David Shaw [Thu, 4 Sep 2003 12:43:45 +0000 (12:43 +0000)]
Missed one.

16 years ago* cipher.h: Drop TIGER/192 support.
David Shaw [Thu, 4 Sep 2003 12:30:01 +0000 (12:30 +0000)]
* cipher.h: Drop TIGER/192 support.

16 years ago* configure.ac: Drop TIGER/192 support. Check for UINT64_C to go along
David Shaw [Thu, 4 Sep 2003 12:27:33 +0000 (12:27 +0000)]
* configure.ac: Drop TIGER/192 support.  Check for UINT64_C to go along
with uint64_t.

16 years ago* mds.test, sigs.test: Remove TIGER/192 and make SHA-256 optional (since
David Shaw [Thu, 4 Sep 2003 12:12:42 +0000 (12:12 +0000)]
* mds.test, sigs.test: Remove TIGER/192 and make SHA-256 optional (since
it might not be compiled in).

16 years ago* armor.c (parse_hash_header, armor_filter), g10.c (print_hex, print_mds),
David Shaw [Thu, 4 Sep 2003 12:03:04 +0000 (12:03 +0000)]
* armor.c (parse_hash_header, armor_filter), g10.c (print_hex, print_mds),
pkclist.c (algo_available): Drop TIGER/192 support.

16 years ago* md.c (string_to_digest_algo): Enable read-write SHA-256 support.
David Shaw [Thu, 4 Sep 2003 11:53:10 +0000 (11:53 +0000)]
* md.c (string_to_digest_algo): Enable read-write SHA-256 support.

* algorithms.h, Makefile.am, md.c (load_digest_module,
string_to_digest_algo), tiger.c: Drop TIGER/192 support.

16 years ago* keyedit.c (show_key_with_all_names): Fix assertion failure when using
David Shaw [Wed, 3 Sep 2003 23:24:03 +0000 (23:24 +0000)]
* keyedit.c (show_key_with_all_names): Fix assertion failure when using
toggle to see a secret key.  Reported by Maxim Britov.

16 years ago* NEWS: Note --list-options, --verify-options, the deprecation of
David Shaw [Tue, 2 Sep 2003 03:16:34 +0000 (03:16 +0000)]
* NEWS: Note --list-options, --verify-options, the deprecation of
--show-photos, --show-policy-url, --show-notation, and --show-keyring, and
getting the signer's fingerprint in sig records.

16 years ago* DETAILS: Note fingerprint of signing key in sig records.
David Shaw [Tue, 2 Sep 2003 03:12:46 +0000 (03:12 +0000)]
* DETAILS: Note fingerprint of signing key in sig records.

16 years ago* gpg.sgml: Use "keyserver-url" instead of "preferred-keyserver" for the
David Shaw [Sun, 31 Aug 2003 23:51:12 +0000 (23:51 +0000)]
* gpg.sgml: Use "keyserver-url" instead of "preferred-keyserver" for the
sake of short and simple commands.

16 years ago* g10.c (add_keyserver_url), keyedit.c (keyedit_menu), sign.c
David Shaw [Sun, 31 Aug 2003 23:49:07 +0000 (23:49 +0000)]
* g10.c (add_keyserver_url), keyedit.c (keyedit_menu), sign.c
(mk_notation_policy_etc): Clarify a few strings.  It's a "preferred
keyserver URL".

* g10.c (main): Use "keyserver-url" instead of "preferred-keyserver" for
the sake of short and simple commands.

16 years ago* main.h, keygen.c (keygen_add_keyserver_url): Signature callback for
David Shaw [Sun, 31 Aug 2003 03:45:41 +0000 (03:45 +0000)]
* main.h, keygen.c (keygen_add_keyserver_url): Signature callback for
adding a keyserver URL.

* keyedit.c (keyedit_menu, menu_set_keyserver_url): New command to set
preferred keyserver to specified (or all) user IDs.

* build-packet.c (build_sig_subpkt): Set preferred keyserver flag while
building a preferred keyserver subpacket.

* keylist.c (show_policy_url): Policy URLs might be UTF8.

* keyedit.c (menu_addrevoker): Fix leaking a few bytes.

16 years ago* gpg.sgml: Document list-options (show-preferred-keyserver,
David Shaw [Sat, 30 Aug 2003 03:29:33 +0000 (03:29 +0000)]
* gpg.sgml: Document list-options (show-preferred-keyserver,
show-validity, show-long-keyid, and show-sig-expire), and verify-options
(show-preferred-keyserver, show-validity, show-long-keyid).

16 years ago* keyedit.c (show_key_with_all_names): Use list-option show-long-keyid in
David Shaw [Sat, 30 Aug 2003 01:08:08 +0000 (01:08 +0000)]
* keyedit.c (show_key_with_all_names): Use list-option show-long-keyid in
main --edit-key display.

16 years ago* keyedit.c (print_and_check_one_sig): Use list-option show-long-keyid in
David Shaw [Sat, 30 Aug 2003 00:40:56 +0000 (00:40 +0000)]
* keyedit.c (print_and_check_one_sig): Use list-option show-long-keyid in
--edit-key "check" function.

16 years agoCredits from stable
David Shaw [Fri, 29 Aug 2003 02:27:02 +0000 (02:27 +0000)]
Credits from stable

16 years ago* samplekeys.asc: Updated.
David Shaw [Fri, 29 Aug 2003 02:25:57 +0000 (02:25 +0000)]
* samplekeys.asc: Updated.

* DETAILS: Document "tru" trust record.  Document REVKEYSIG status tag.
Removed paragraph on gdbm usage.  Note that pipemode is deprecated.

16 years ago* autogen.sh: Touch po/all for --build-w32. From Werner on stable branch.
David Shaw [Fri, 29 Aug 2003 00:42:31 +0000 (00:42 +0000)]
* autogen.sh: Touch po/all for --build-w32.  From Werner on stable branch.

16 years ago* AUTHORS, THANKS: Updates from stable.
David Shaw [Fri, 29 Aug 2003 00:26:16 +0000 (00:26 +0000)]
* AUTHORS, THANKS: Updates from stable.

16 years ago* passphrase.c (agent_send_all_options): Make use of $GPG_TTY.
David Shaw [Fri, 29 Aug 2003 00:14:42 +0000 (00:14 +0000)]
* passphrase.c (agent_send_all_options): Make use of $GPG_TTY.

* g10.c (main): Disable use-agent if passphrase-fd is given later.
Suggested by Kurt Garloff.

* exec.c, g10.c, gpgv.c, passphrase.c, photoid.c: s/__MINGW32__/_WIN32/ to
help building on native Windows compilers.  Requested by Brian Gladman.
From Werner on stable branch.

16 years ago* idea-stub.c, random.c; s/__MINGW32__/_WIN32/ to help building on native
David Shaw [Thu, 28 Aug 2003 23:49:03 +0000 (23:49 +0000)]
* idea-stub.c, random.c; s/__MINGW32__/_WIN32/ to help building on native
Windows compilers.  Requested by Brian Gladman.  From Werner on stable
branch.

16 years ago* util.h: s/__MINGW32__/_WIN32/ to help building on native Windows
David Shaw [Thu, 28 Aug 2003 23:41:41 +0000 (23:41 +0000)]
* util.h: s/__MINGW32__/_WIN32/ to help building on native Windows
compilers.  Requested by Brian Gladman.  From Werner on stable branch.

16 years ago* dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h, strgutil.c,
David Shaw [Thu, 28 Aug 2003 23:29:32 +0000 (23:29 +0000)]
* dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h, strgutil.c,
ttyio.c, w32reg.c: s/__MINGW32__/_WIN32/ to help building on native
Windows compilers.  Requested by Brian Gladman. From Werner on stable
branch.

* http.c (connect_server): Oops - forgot to freeaddrinfo().

16 years ago* options.h, g10.c (main): Add list-option list-preferred-keyserver.
David Shaw [Tue, 26 Aug 2003 04:07:52 +0000 (04:07 +0000)]
* options.h, g10.c (main): Add list-option list-preferred-keyserver.

* keyedit.c (change_passphrase): When responding 'no' to the blank
passphrase question, re-prompt for a new passphrase.  This is bug #202.

16 years ago* mainproc.c (check_sig_and_print): Use two different preferred keyserver
David Shaw [Tue, 26 Aug 2003 03:56:47 +0000 (03:56 +0000)]
* mainproc.c (check_sig_and_print): Use two different preferred keyserver
displays - one if the key is not present (to tell the user where to get
the key), the other if it is present (to tell the user where the key can
be refreshed).

* packet.h, parse-packet.c (parse_signature): Set flag if a preferred
keyserver is present.

* keylist.c (list_keyblock_print): Show keyserver url in listings with
list-option show-keyserver-url.

16 years ago* NEWS: Note %g and %p, the "tru" --with-colons record, and the REVKEYSIG
David Shaw [Tue, 26 Aug 2003 03:03:54 +0000 (03:03 +0000)]
* NEWS: Note %g and %p, the "tru" --with-colons record, and the REVKEYSIG
--status-fd tag.

* README: Add a note about the SunOS symbol underscore problem and how to
fix it.  Note problem with gcc < 2.96 and non-gnu as.

16 years ago* gnupg.spec.in: Rework much of the spec to use %-macros throughout. Fix
David Shaw [Tue, 26 Aug 2003 00:37:09 +0000 (00:37 +0000)]
* gnupg.spec.in: Rework much of the spec to use %-macros throughout.  Fix
to work properly with RPM 4.1 (all files in buildroot must be packaged).
Package and install info files. Tweak the English description.  Do not
install gpgv and gpgsplit setuid root. Make sure that install-info is
called in such a way that doesn't bork the RPM install if it cannot
complete (necessary for some upgrade scenarios).

16 years ago* gpg.sgml: Document --list-options (show-photos, show-policy-url,
David Shaw [Tue, 26 Aug 2003 00:32:58 +0000 (00:32 +0000)]
* gpg.sgml: Document --list-options (show-photos, show-policy-url,
show-notation, show-keyring) and --verify-options (show-photos,
show-policy-url, show-notation).  Deprecate --show-photos,
--show-policy-url, --show-notation, and --show-keyring.

16 years ago* Makefile.am: Use NETLIBS instead of EGDLIBS.
David Shaw [Mon, 25 Aug 2003 03:37:06 +0000 (03:37 +0000)]
* Makefile.am: Use NETLIBS instead of EGDLIBS.

16 years ago* configure.ac: Check for getaddrinfo. Don't bother to check for EGD libs
David Shaw [Mon, 25 Aug 2003 03:32:01 +0000 (03:32 +0000)]
* configure.ac: Check for getaddrinfo.  Don't bother to check for EGD libs
since we need to have the netlibs regardless because of the agent socket.

16 years ago* http.c (connect_server): Try and use getaddrinfo if it is available.
David Shaw [Mon, 25 Aug 2003 02:18:45 +0000 (02:18 +0000)]
* http.c (connect_server): Try and use getaddrinfo if it is available.
Try for IPv6 via getaddrinfo() or a IPv6-ized gethostbyname().  Suggested
by Jun-ichiro itojun Hagino.

16 years ago* mainproc.c (check_sig_and_print): Get the uid validity before printing
David Shaw [Sun, 24 Aug 2003 23:01:26 +0000 (23:01 +0000)]
* mainproc.c (check_sig_and_print): Get the uid validity before printing
any sig results to avoid munging the output with trustdb warnings.

* g10.c (main): Don't include --show-keyring in --help as it is
deprecated.