gnupg.git
16 years ago* pkclist.c (build_pk_list): Fail if any recipient keys are unusable.
David Shaw [Fri, 30 Aug 2002 18:01:32 +0000 (18:01 +0000)]
* pkclist.c (build_pk_list): Fail if any recipient keys are unusable.

* options.skel: The PGP LDAP keyserver is back.  Use MIT keyserver as a
sample rather than cryptnet as cryptnet does not support searching yet.

* keyedit.c (show_key_with_all_names): Fix error message (preferences are
userid/selfsig and not key specific).

16 years ago* iobuf.c (block_filter): Removed the assert, so that one can pass
Werner Koch [Fri, 30 Aug 2002 16:37:09 +0000 (16:37 +0000)]
* iobuf.c (block_filter): Removed the assert, so that one can pass
the first character of a message and use the block filter for
non partial length encoded packets.

16 years ago* configure.ac (random_modules): Reworked the code to select the
Werner Koch [Fri, 30 Aug 2002 16:36:08 +0000 (16:36 +0000)]
* configure.ac (random_modules): Reworked the code to select the
random module.  Define USE_ALL_RANDOM_MODULES for value all.

16 years ago* pkclist.c (do_we_trust_pre): Changed the wording of a warning.
Werner Koch [Fri, 30 Aug 2002 16:34:13 +0000 (16:34 +0000)]
* pkclist.c (do_we_trust_pre): Changed the wording of a warning.

* encode.c (encode_simple,encode_crypt): Use new style CTB for
compressssed packets when using MDC.  We need to do this so that
concatenated messages are properly decrypted.  Old style
compression assumes that it is the last packet; given that we
can't determine the length in advance, the uncompressor does not
know where to start.  Actually we should use the new CTB always
but this would break PGP 2 compatibility.
* parse-packet.c (parse): Special treatment for new style CTB
compressed packets.

* build-packet.c (do_mdc): Removed. Was not used.
(do_encrypted_mdc): Count the version number and the MDC packet.

16 years ago* random.c: Automagically detect the entrop gatherer when
Werner Koch [Fri, 30 Aug 2002 16:33:55 +0000 (16:33 +0000)]
* random.c: Automagically detect the entrop gatherer when
configure so.
* rndegd.c (rndegd_connect_socket): New.  Factored out from ..
(rndegd_gather_random): here and call it.
(do_read): Update the counter variables correctly.  This was not a
problem due to the way EGD works. Bug found by Christian Biere.

16 years ago* gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms.
David Shaw [Wed, 28 Aug 2002 20:10:29 +0000 (20:10 +0000)]
* gpgkeys_hkp.c: (parse_hkp_index): Use same types on all platforms.
This was probably leftover from earlier code where the typing mattered.

16 years ago* sig-check.c (do_check_messages, do_check): Show keyid in error messages.
David Shaw [Wed, 28 Aug 2002 19:34:58 +0000 (19:34 +0000)]
* sig-check.c (do_check_messages, do_check): Show keyid in error messages.

* keyserver.c (print_keyinfo): More readable key listings for
--search-keys responses.

16 years ago* gpgkeys_hkp.c: Overall cleanup from iobuf conversion. Be consistent in
David Shaw [Wed, 28 Aug 2002 04:04:37 +0000 (04:04 +0000)]
* gpgkeys_hkp.c: Overall cleanup from iobuf conversion.  Be consistent in
m_alloc and malloc usage.  Remove include-disabled (meaningless on HKP).
RISC OS tweak.

16 years ago* gpgkeys_hkp.c, Makefile.am: Convert over to using iobufs.
David Shaw [Tue, 27 Aug 2002 19:11:36 +0000 (19:11 +0000)]
* gpgkeys_hkp.c, Makefile.am: Convert over to using iobufs.

16 years ago* configure.ac: Check type of mode_t.
David Shaw [Tue, 27 Aug 2002 18:10:51 +0000 (18:10 +0000)]
* configure.ac: Check type of mode_t.

16 years ago* gpgkeys_hkp.c (http_get, http_post): Use CRLF for line endings.
David Shaw [Tue, 27 Aug 2002 14:49:23 +0000 (14:49 +0000)]
* gpgkeys_hkp.c (http_get, http_post): Use CRLF for line endings.

16 years ago* NEWS: Clarify that --libexecdir is a configure option.
David Shaw [Tue, 27 Aug 2002 12:46:00 +0000 (12:46 +0000)]
* NEWS: Clarify that --libexecdir is a configure option.

* configure.ac: Check for hstrerror.

16 years ago* gpgkeys_hkp.c: Include util.h on RISC OS as per Stefan. Include a
David Shaw [Tue, 27 Aug 2002 12:44:18 +0000 (12:44 +0000)]
* gpgkeys_hkp.c: Include util.h on RISC OS as per Stefan.  Include a
replacement for hstrerror() for those platforms (such as RISC OS) that
don't have it.

16 years ago* Makefile.am: May as well include gpgkeys_hkp.c in the distribution now.
David Shaw [Mon, 26 Aug 2002 22:44:38 +0000 (22:44 +0000)]
* Makefile.am: May as well include gpgkeys_hkp.c in the distribution now.
It works well enough without proxies, and isn't built by default.  It
would be good to get some test experience with it.

16 years ago* gpgkeys_hkp.c (main): Don't warn about include-subkeys - it isn't
David Shaw [Mon, 26 Aug 2002 19:26:56 +0000 (19:26 +0000)]
* gpgkeys_hkp.c (main): Don't warn about include-subkeys - it isn't
unsupported, it's actually non-meaningful in the context of HKP (yet).

16 years ago* gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Move HTML functionality into
David Shaw [Mon, 26 Aug 2002 19:22:48 +0000 (19:22 +0000)]
* gpgkeys_hkp.c (parse_hkp_index, dehtmlize): Move HTML functionality into
new "dehtmlize" function.  Remove HTML before trying to parse each line
from the keyserver.  If the keyserver provides key type information in the
listing, use it.  (Copy over from g10/hkp.c).

16 years ago* hkp.c (parse_hkp_index, dehtmlize): Move HTML functionality into new
David Shaw [Mon, 26 Aug 2002 19:07:59 +0000 (19:07 +0000)]
* hkp.c (parse_hkp_index, dehtmlize): Move HTML functionality into new
"dehtmlize" function.  Remove HTML before trying to parse each line from
the keyserver.  If the keyserver provides key type information in the
listing, use it.

16 years ago* longlong.h: Remove space between \ and newline. gcc is complaining.
David Shaw [Sat, 24 Aug 2002 15:01:05 +0000 (15:01 +0000)]
* longlong.h: Remove space between \ and newline. gcc is complaining.

16 years ago* sig-check.c (do_check, do_check_messages): Emit the usual sig warnings
David Shaw [Fri, 23 Aug 2002 20:59:48 +0000 (20:59 +0000)]
* sig-check.c (do_check, do_check_messages): Emit the usual sig warnings
even for cached sigs.  This also serves to protect against missing a sig
expiring while cached.

* getkey.c (merge_selfsigs_main): Don't check UID self-sigs twice.

16 years ago* faq.raw: Updated. New Maintainer is David D. Scribner.
Werner Koch [Fri, 23 Aug 2002 08:43:46 +0000 (08:43 +0000)]
* faq.raw: Updated.  New Maintainer is David D. Scribner.

16 years agoInclude intl/ in the CVS again; otherwise we are not able to
Werner Koch [Fri, 23 Aug 2002 08:02:08 +0000 (08:02 +0000)]
Include intl/ in the CVS again; otherwise we are not able to
re-recreate a distribution from CVS.
Some minor other fixes.

16 years ago* gpg.sgml: Clarify meaning of keyserver option include-revoked.
David Shaw [Thu, 22 Aug 2002 17:48:47 +0000 (17:48 +0000)]
* gpg.sgml: Clarify meaning of keyserver option include-revoked.

16 years ago* import.c (clean_subkeys, chk_self_sigs): Merge clean_subkeys into
David Shaw [Thu, 22 Aug 2002 17:47:42 +0000 (17:47 +0000)]
* import.c (clean_subkeys, chk_self_sigs): Merge clean_subkeys into
chk_self_sigs.  This improves efficiency as the same signatures are not
checked multiple times.  Clarify when a subkey is revoked (any revocation
signature, even if it is dated before the binding signature).

* getkey.c (merge_selfsigs_subkey): Subkey revocation comments.

* keylist.c (list_one): Stats are only for public key listings.

* g10.c (main), options.skel: Default should be include-revoked for
keyserver operations.

16 years ago* query.c (agent_askpin): Provide the default desc text depending NEWPG-0-9-1
Werner Koch [Thu, 22 Aug 2002 09:47:39 +0000 (09:47 +0000)]
* query.c (agent_askpin): Provide the default desc text depending
on the pininfo.  Do the basic PIN verification only when
min_digist is set.

16 years ago* import.c (print_imported_summary): Cleaned up. Print new
Werner Koch [Wed, 21 Aug 2002 15:41:21 +0000 (15:41 +0000)]
* import.c (print_imported_summary): Cleaned up.  Print new
not_imported value.
(check_and_store): Update non_imported counter.
(print_import_problem): New.
(check_and_store): Print error status message.
* server.c (get_status_string): Added STATUS_IMPORT_PROBLEM.

16 years ago* errors.h: Added STATUS_IMPORT_PROBLEM.
Werner Koch [Wed, 21 Aug 2002 15:41:11 +0000 (15:41 +0000)]
* errors.h: Added STATUS_IMPORT_PROBLEM.

16 years ago* import.c (import_print_stats): Print new non_imported counter
Werner Koch [Wed, 21 Aug 2002 14:59:05 +0000 (14:59 +0000)]
* import.c (import_print_stats): Print new non_imported counter
which is currently not used becuase we terminate on errors.

16 years ago* query.c (agent_askpin): Hack to show the right default prompt. NEWPG-0-9-0
Werner Koch [Wed, 21 Aug 2002 11:11:04 +0000 (11:11 +0000)]
* query.c (agent_askpin): Hack to show the right default prompt.
(agent_get_passphrase): Ditto.

* Makefile.am: Renamed the binary protect-tool to gpg-protect-tool.
* protect-tool.c: Removed the note about internal use only.

* gpg-agent.c (main): New option --daemon so that the program is
not accidently started in the background.

16 years agouse setlocale().
Werner Koch [Wed, 21 Aug 2002 11:10:44 +0000 (11:10 +0000)]
use setlocale().

16 years ago* scdaemon.c (main): New option --daemon so that the program is
Werner Koch [Wed, 21 Aug 2002 08:19:12 +0000 (08:19 +0000)]
* scdaemon.c (main): New option --daemon so that the program is
not accidently started in the background.

16 years ago* vasprintf.c: Hack to handle NULL for %s.
Werner Koch [Wed, 21 Aug 2002 08:18:43 +0000 (08:18 +0000)]
* vasprintf.c: Hack to handle NULL for %s.

16 years ago* divert-scd.c (getpin_cb): Pass a more descritive text to the
Werner Koch [Wed, 21 Aug 2002 08:18:23 +0000 (08:18 +0000)]
* divert-scd.c (getpin_cb): Pass a more descritive text to the
pinentry.

* Makefile.am: Renamed the binary protect-tool to gpg-protect-tool.
* protect-tool.c: Removed the note about internal use only.

* gpg-agent.c (main): New option --daemon so that the program is
not accidently started in the background.

16 years ago* options.skel: Document no-include-attributes for keyserver-options.
David Shaw [Tue, 20 Aug 2002 17:16:33 +0000 (17:16 +0000)]
* options.skel: Document no-include-attributes for keyserver-options.

16 years ago* gpgsm.c (main): Use the log file only in server mode.
Werner Koch [Tue, 20 Aug 2002 13:09:53 +0000 (13:09 +0000)]
* gpgsm.c (main): Use the log file only in server mode.

* import.c (print_imported_summary): New.
(check_and_store): Update the counters, take new argument.
(import_one): Factored out core of gpgsm_import.
(gpgsm_import): Print counters.
(gpgsm_import_files): New.
* gpgsm.c (main): Use the new function for import.

16 years ago* DETAILS: Clarify that trust letters 'q' and '-' can be treated
David Shaw [Tue, 20 Aug 2002 12:56:51 +0000 (12:56 +0000)]
* DETAILS: Clarify that trust letters 'q' and '-' can be treated
identically.

* gpg.sgml: Document --ignore-mdc-error.

16 years ago* keylist.c, keyedit.c, keyserver.c, sign.c: Some TODOs and comments.
David Shaw [Tue, 20 Aug 2002 12:45:57 +0000 (12:45 +0000)]
* keylist.c, keyedit.c, keyserver.c, sign.c: Some TODOs and comments.

* export.c (do_export_stream): Fix noop bug in exporting sensitive
revocation keys.

* pkclist.c (do_edit_ownertrust): Comment out the option for showing trust
paths until it can be implemented.

16 years ago* gpgkeys_hkp.c (get_key, parse_hkp_index): Bring over latest code from
David Shaw [Mon, 19 Aug 2002 21:14:57 +0000 (21:14 +0000)]
* gpgkeys_hkp.c (get_key, parse_hkp_index): Bring over latest code from
g10/hkp.c.

* gpgkeys_ldap.c (get_key): Fix cosmetic URL display problem (extra ":" at
the end).

16 years ago* NEWS: Document new ways to enable MDC, and change in automatic
David Shaw [Mon, 19 Aug 2002 19:38:18 +0000 (19:38 +0000)]
* NEWS: Document new ways to enable MDC, and change in automatic
compression disabling.

* configure.ac: No such thing as the "none" random gather any longer.

16 years agoShort note about interactive and import.
Werner Koch [Mon, 19 Aug 2002 08:42:57 +0000 (08:42 +0000)]
Short note about interactive and import.

16 years ago* getkey.c (get_user_id_native): Renamed to ..
Werner Koch [Mon, 19 Aug 2002 08:28:00 +0000 (08:28 +0000)]
* getkey.c (get_user_id_native): Renamed to ..
(get_user_id_printable): this.  Filter out all dangerous
characters.  Checked all usages.
(get_user_id_string_native): Renamed to..
(get_user_id_string_printable): this.  Filter out all dangerous
characters.  Checked all usages.
* keyedit.c (show_basic_key_info): New.
* keylist.c (print_fingerprint): New mode 3.
* import.c (import_one): Use new function to display the user ID.

16 years ago2002-08-16 Timo Schulz <ts@winpt.org>
Timo Schulz [Sun, 18 Aug 2002 17:24:21 +0000 (17:24 +0000)]
2002-08-16  Timo Schulz  <ts@winpt.org>

        * g10.c (main): enable opt.interactive.

        * import.c (import_one): Ask the user if the key shall be
        imported when the interactive mode is used. Useful to extract
        selected keys from a file.

16 years agoMade it compile.
Werner Koch [Fri, 16 Aug 2002 14:31:49 +0000 (14:31 +0000)]
Made it compile.

16 years ago* call-scd.c (learn_status_cb): Handle CERTINFO status.
Werner Koch [Fri, 16 Aug 2002 14:24:38 +0000 (14:24 +0000)]
* call-scd.c (learn_status_cb): Handle CERTINFO status.
(agent_card_learn): Add args for certinfo cb.
* learncard.c (release_certinfo,certinfo_cb): New.
(send_cert_back): New. With factored out code from ..
(agent_handle_learn): here.  Return certinfo stuff.

16 years ago* assuan.h: Renamed Bad_Certificate_Path to Bad_Certificate_Chain.
Werner Koch [Fri, 16 Aug 2002 14:24:25 +0000 (14:24 +0000)]
* assuan.h: Renamed Bad_Certificate_Path to Bad_Certificate_Chain.

16 years agoRenamed an error code.
Werner Koch [Fri, 16 Aug 2002 14:24:12 +0000 (14:24 +0000)]
Renamed an error code.

16 years ago* scdaemon.c: Include i18n.h.
Werner Koch [Fri, 16 Aug 2002 14:23:40 +0000 (14:23 +0000)]
* scdaemon.c: Include i18n.h.

* card-common.h (struct p15_private_s): Forward declaration.  Add
it to card_ctx_s.
* card.c (card_close): Make sure private data is released.
(card_enum_certs): New.
* card-p15.c (p15_release_private_data): New.
(init_private_data): New to work around an OpenSC weirdness.
(p15_enum_keypairs): Do an OpenSC get_objects only once.
(p15_enum_certs): New.
(card_p15_bind): Bind new function.
* command.c (cmd_learn): Return information about the certificates.

16 years agoRenamed some configure flags.
Werner Koch [Fri, 16 Aug 2002 14:23:23 +0000 (14:23 +0000)]
Renamed some configure flags.

16 years ago*** empty log message ***
Werner Koch [Fri, 16 Aug 2002 14:15:43 +0000 (14:15 +0000)]
*** empty log message ***

16 years ago* certpath.c: Renamed to ..
Werner Koch [Fri, 16 Aug 2002 14:09:23 +0000 (14:09 +0000)]
* certpath.c: Renamed to ..
* certchain.c: this. Renamed all all other usages of "path" in the
context of certificates to "chain".

16 years ago* call-agent.c (learn_cb): Special treatment when the issuer
Werner Koch [Fri, 16 Aug 2002 13:55:03 +0000 (13:55 +0000)]
* call-agent.c (learn_cb): Special treatment when the issuer
certificate is missing.

16 years ago* card-common.h (struct p15_private_s): Forward declaration. Add
Werner Koch [Fri, 16 Aug 2002 10:33:31 +0000 (10:33 +0000)]
* card-common.h (struct p15_private_s): Forward declaration.  Add
it to card_ctx_s.
* card.c (card_close): Make sure private data is released.
* card-p15.c (p15_release_private_data): New.
(init_private_data): New to work around an OpenSC weirdness.
(p15_enum_keypairs): Do an OpenSC get_objects only once.

16 years agoRemoved a leftover conflict indicator.
Werner Koch [Fri, 16 Aug 2002 07:14:29 +0000 (07:14 +0000)]
Removed a leftover conflict indicator.

16 years ago* seckey-cert.c: Workaround to allow decryption of v3 keys created
Werner Koch [Fri, 16 Aug 2002 07:13:13 +0000 (07:13 +0000)]
* seckey-cert.c: Workaround to allow decryption of v3 keys created
with a bug in the mpi_get_secure_buffer.

16 years ago* hkp.c (parse_hkp_index): Properly handle really large keys (5 digit key
David Shaw [Wed, 14 Aug 2002 22:48:28 +0000 (22:48 +0000)]
* hkp.c (parse_hkp_index): Properly handle really large keys (5 digit key
length) in HKP searches.

16 years ago* encode.c (encode_simple): Fix problem with using compression algo 2 and
David Shaw [Tue, 13 Aug 2002 19:00:23 +0000 (19:00 +0000)]
* encode.c (encode_simple): Fix problem with using compression algo 2 and
symmetric compressed files.

* encode.c (encode_simple, encode_crypt): If we are not using a MDC,
compress even if a file is already compressed.  This is to help against
the chosen ciphertext attack.

* pkclist.c (select_algo_from_prefs): Fix requested algorithm bug so the
request succeeds even if the requested algorithm is not the first found.

* cipher.c (write_header), encode.c (use_mdc, encode_simple, encode_crypt,
encrypt_filter), g10.c (main): Be more eager to use a MDC.  We use a MDC
if the keys directly support it, if the keys list AES (any) or TWOFISH
anywhere in the prefs, or if the cipher chosen does not have a 64 bit
blocksize.

16 years ago* cipher.h: Add AES aliases for RIJNDAEL algo numbers.
David Shaw [Tue, 13 Aug 2002 18:44:25 +0000 (18:44 +0000)]
* cipher.h: Add AES aliases for RIJNDAEL algo numbers.

16 years ago* mpicoder.c (do_get_buffer): Don't remove leading zeros if the
Werner Koch [Tue, 13 Aug 2002 05:55:16 +0000 (05:55 +0000)]
* mpicoder.c (do_get_buffer): Don't remove leading zeros if the
MPI is marked as protected.

16 years ago* cipher.c: Include the DUMMY cipher only when the new ALLOW_DUMMY
Werner Koch [Mon, 12 Aug 2002 17:46:46 +0000 (17:46 +0000)]
* cipher.c: Include the DUMMY cipher only when the new ALLOW_DUMMY
is defined. It should only be defined for hard core debugging.

16 years agoMinor changes for gettext NEWPG-0-3-10
Werner Koch [Sat, 10 Aug 2002 11:25:32 +0000 (11:25 +0000)]
Minor changes for gettext

16 years ago* keylist.c (list_cert_colon): Print the short fingerprint in the
Werner Koch [Sat, 10 Aug 2002 09:14:21 +0000 (09:14 +0000)]
* keylist.c (list_cert_colon): Print the short fingerprint in the
key ID field.
* fingerprint.c (gpgsm_get_short_fingerprint): New.
* verify.c (gpgsm_verify): Print more verbose info for a good
signature.

16 years ago* keybox-search.c (blob_cmp_fpr_part): New.
Werner Koch [Sat, 10 Aug 2002 09:14:08 +0000 (09:14 +0000)]
* keybox-search.c (blob_cmp_fpr_part): New.
(has_short_kid, has_long_kid): Implemented.

16 years ago* decrypt.c (prepare_decryption): Hack to detected already
Werner Koch [Fri, 9 Aug 2002 21:01:03 +0000 (21:01 +0000)]
* decrypt.c (prepare_decryption): Hack to detected already
unpkcsedone keys.

16 years agoTweaked the build system so that make distcheck finanly said Well
Werner Koch [Fri, 9 Aug 2002 18:16:02 +0000 (18:16 +0000)]
Tweaked the build system so that make distcheck finanly said Well
Done.

16 years ago* signal.c: New. Taken from GnuPG 1.1.91.
Werner Koch [Fri, 9 Aug 2002 18:13:41 +0000 (18:13 +0000)]
* signal.c: New. Taken from GnuPG 1.1.91.

16 years agoMinor fixes
Werner Koch [Fri, 9 Aug 2002 18:13:24 +0000 (18:13 +0000)]
Minor fixes

16 years ago* gpgsm.c (emergency_cleanup): New.
Werner Koch [Fri, 9 Aug 2002 18:12:22 +0000 (18:12 +0000)]
* gpgsm.c (emergency_cleanup): New.
(main): Initialize the signal handler.

* sign.c (gpgsm_sign): Reset the hash context for subsequent
signers and release it at the end.

16 years ago* card.c (card_get_serial_and_stamp): Use the tokeinfo serial
Werner Koch [Fri, 9 Aug 2002 18:12:01 +0000 (18:12 +0000)]
* card.c (card_get_serial_and_stamp): Use the tokeinfo serial
number as a fallback. Add a special prefix for serial numbers.

16 years agoAdded distfiles kludge to distribute the content of the samplekeys directory.
Werner Koch [Fri, 9 Aug 2002 14:44:59 +0000 (14:44 +0000)]
Added distfiles kludge to distribute the content of the samplekeys directory.

16 years ago* options.skel: Some language tweaks, and remove the load-extension
David Shaw [Fri, 9 Aug 2002 02:23:42 +0000 (02:23 +0000)]
* options.skel: Some language tweaks, and remove the load-extension
section for random gatherers.

* keyring.c (create_tmp_file, rename_tmp_file): Create tmp files with
user-only permissions, but restore the original permissions if the user
has something special set.

* openfile.c (copy_options_file): Create new options file (gpg.conf) with
user-only permissions.

* keydb.c (keydb_add_resource): Create new keyrings with user-only
permissions.

16 years ago* Makefile.am, md.c (load_digest_module): Allow switching TIGER on and off
David Shaw [Thu, 8 Aug 2002 19:41:30 +0000 (19:41 +0000)]
* Makefile.am, md.c (load_digest_module): Allow switching TIGER on and off
via configure.

16 years ago* configure.ac: Add an --enable-tiger.
David Shaw [Thu, 8 Aug 2002 19:38:59 +0000 (19:38 +0000)]
* configure.ac: Add an --enable-tiger.

* NEWS: Clarify new permission checks.

16 years ago* tdbio.c (tdbio_set_dbname): Create new trustdbs with user-only
David Shaw [Thu, 8 Aug 2002 19:09:34 +0000 (19:09 +0000)]
* tdbio.c (tdbio_set_dbname): Create new trustdbs with user-only
permissions.

16 years ago* asschk.c: Added some new features.
Werner Koch [Thu, 8 Aug 2002 16:32:01 +0000 (16:32 +0000)]
* asschk.c: Added some new features.
* runtest, inittests: New.
* text-1.txt, text-2.txt, text-3.txt: New.
* text-1.osig.pem, text-1.dsig.pem, text-1.osig-bad.pem: New.
* text-2.osig.pem, text-2.osig-bad.pem: New.
* samplekeys : New directory
* sm-verify, sm-sign+verify: The first test scripts.

16 years ago* sig-check.c (signature_check2): Sanity check that the md has a context
David Shaw [Wed, 7 Aug 2002 19:53:27 +0000 (19:53 +0000)]
* sig-check.c (signature_check2): Sanity check that the md has a context
for the hash that the sig is expecting.  This can happen if a onepass sig
header does not match the actual sig, and also if the clearsign "Hash:"
header is missing or does not match the actual sig.

16 years ago* cipher.h: Add md_algo_present().
David Shaw [Wed, 7 Aug 2002 19:48:45 +0000 (19:48 +0000)]
* cipher.h: Add md_algo_present().

16 years ago* md.c (md_algo_present): New function to check if a given algo is in use
David Shaw [Wed, 7 Aug 2002 19:47:57 +0000 (19:47 +0000)]
* md.c (md_algo_present): New function to check if a given algo is in use
for a given MD_HANDLE.

16 years agoFirst test script. Still missing the environment setup.
Werner Koch [Wed, 7 Aug 2002 16:42:47 +0000 (16:42 +0000)]
First test script.  Still missing the environment setup.

16 years ago* keyedit.c (menu_revsig): Properly show a uid is revoked without
David Shaw [Wed, 7 Aug 2002 15:53:15 +0000 (15:53 +0000)]
* keyedit.c (menu_revsig): Properly show a uid is revoked without
restarting gpg.  This is Debian bug 124219, though their supplied patch
will not do the right thing.

* main.h, tdbio.c (tdbio_set_dbname), misc.c (removed check_permissions),
keydb.c (keydb_add_resource), g10.c (main, check_permissions): Significant
reworking of the permission check mechanism.  The new behavior is to check
everything in the homedir by checking the homedir itself.  If the user
wants to put (possibly shared) keyrings outside the homedir, they are not
checked.  The options file and any extension files are checked wherever
they are, as well as their enclosing directories.  This is Debian bug
147760.

16 years ago* configure.ac: If the static IDEA cipher is present, disable dynamic
David Shaw [Wed, 7 Aug 2002 14:32:07 +0000 (14:32 +0000)]
* configure.ac: If the static IDEA cipher is present, disable dynamic
loading.  Also fix backwards grammar of keyserver exec-path CHECKING
message.

16 years agoNew Assuan testing tool.
Werner Koch [Wed, 7 Aug 2002 11:48:27 +0000 (11:48 +0000)]
New Assuan testing tool.

16 years agouse of EXTSEP_S
Stefan Bellon [Tue, 6 Aug 2002 18:32:58 +0000 (18:32 +0000)]
use of EXTSEP_S

16 years ago* options.h, g10.c (main), mainproc.c (proc_encrypted): --ignore-mdc-error
David Shaw [Tue, 6 Aug 2002 17:57:53 +0000 (17:57 +0000)]
* options.h, g10.c (main), mainproc.c (proc_encrypted): --ignore-mdc-error
option to turn a MDC check error into a warning.

16 years ago* encode.c (encode_crypt), g10.c (main), sign.c (sign_file,
David Shaw [Tue, 6 Aug 2002 17:38:04 +0000 (17:38 +0000)]
* encode.c (encode_crypt), g10.c (main), sign.c (sign_file,
clearsign_file): Use the same --pgpX warning string everywhere to ease
translations.

* encode.c (write_pubkey_enc_from_list): Warn when using --throw-keyid
with --pgpX.  Noted by Vedaal Nistar.

16 years ago* gpg.sgml: Clarify that only long-form options can go in the config file.
David Shaw [Tue, 6 Aug 2002 17:22:31 +0000 (17:22 +0000)]
* gpg.sgml: Clarify that only long-form options can go in the config file.

16 years ago* revoke.c (export_minimal_pk, gen_desig_revoke, gen_revoke): Export a
David Shaw [Tue, 6 Aug 2002 16:58:58 +0000 (16:58 +0000)]
* revoke.c (export_minimal_pk, gen_desig_revoke, gen_revoke): Export a
minimal pk along with the revocation cert when in --pgpX mode so that PGP
can import it.

16 years ago* options.skel: Changed comments.
Werner Koch [Tue, 6 Aug 2002 13:37:09 +0000 (13:37 +0000)]
* options.skel: Changed comments.

* gpg.sgml: Fixed doc regarding the name change of the option
file.

16 years agominor doc fixes.
Werner Koch [Tue, 6 Aug 2002 13:30:28 +0000 (13:30 +0000)]
minor doc fixes.

16 years ago* g10.c (main): Try to use "gpg.conf" as default option file.
Werner Koch [Tue, 6 Aug 2002 13:29:27 +0000 (13:29 +0000)]
* g10.c (main): Try to use "gpg.conf" as default option file.
* openfile.c (copy_options_file): Changed name of created file.

16 years agotidying up RISC OS stuff
Stefan Bellon [Tue, 6 Aug 2002 06:54:55 +0000 (06:54 +0000)]
tidying up RISC OS stuff

16 years ago* configure.ac: Bumbed version number.
Werner Koch [Sun, 4 Aug 2002 22:21:54 +0000 (22:21 +0000)]
* configure.ac: Bumbed version number.

16 years agoRemoved some obsolete header files. V1-1-91
Werner Koch [Sun, 4 Aug 2002 22:00:32 +0000 (22:00 +0000)]
Removed some obsolete header files.

16 years ago* configure.ac (ALL_LINGUAS): Added Catalan.
Werner Koch [Sun, 4 Aug 2002 21:37:43 +0000 (21:37 +0000)]
* configure.ac (ALL_LINGUAS): Added Catalan.

Prepared release.

16 years agomsgfmt updated.
Werner Koch [Sun, 4 Aug 2002 21:36:52 +0000 (21:36 +0000)]
msgfmt updated.

16 years ago* de.po: Fixed fuzzys and translated new strings.
Werner Koch [Sun, 4 Aug 2002 21:19:58 +0000 (21:19 +0000)]
* de.po: Fixed fuzzys and translated new strings.
* es.po, et.po, fr.po, gl.po, id.po, it.po, ja.po, tr.po: Updated
from TP site.
* ca.po: New from TP site.

16 years agoRISC OS changes because of dynload removal
Stefan Bellon [Sat, 3 Aug 2002 21:53:33 +0000 (21:53 +0000)]
RISC OS changes because of dynload removal

16 years agoRISC OS changes due to dynload removal
Stefan Bellon [Sat, 3 Aug 2002 18:35:16 +0000 (18:35 +0000)]
RISC OS changes due to dynload removal

16 years agoThe big extension module removal.
Werner Koch [Sat, 3 Aug 2002 10:50:53 +0000 (10:50 +0000)]
The big extension module removal.

16 years ago2002-08-02 Timo Schulz <ts@winpt.org>
Timo Schulz [Fri, 2 Aug 2002 11:29:24 +0000 (11:29 +0000)]
2002-08-02  Timo Schulz  <ts@winpt.org>

        * mpicoder.c: Add a '\n' to all log_bug functions.

16 years ago* gpg.sgml: Document new --delete behaviour.
Werner Koch [Fri, 2 Aug 2002 10:16:41 +0000 (10:16 +0000)]
* gpg.sgml: Document new --delete behaviour.

16 years ago* delkey.c (do_delete_key): Always allow to delete a key in batch mode
Werner Koch [Fri, 2 Aug 2002 10:15:39 +0000 (10:15 +0000)]
* delkey.c (do_delete_key): Always allow to delete a key in batch mode
when specified by fingerprint.  Suggested by Enzo Michelangeli.