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

16 years ago* config.links: Added case for sparc64-netbsd. Suggested by
Werner Koch [Fri, 2 Aug 2002 10:14:12 +0000 (10:14 +0000)]
* config.links: Added case for sparc64-netbsd. Suggested by
ww@styx.org.

16 years agoAdd another item to the NEWS file.
Werner Koch [Fri, 2 Aug 2002 10:12:57 +0000 (10:12 +0000)]
Add another item to the NEWS file.

16 years ago* gpg.sgml: Clarify --edit/addrevoker (sensitive), and --keyserver-options
David Shaw [Tue, 30 Jul 2002 21:38:14 +0000 (21:38 +0000)]
* gpg.sgml: Clarify --edit/addrevoker (sensitive), and --keyserver-options
(--import/export-options may be used as well). Document --import-options
and --export-options with their various options.  --show-photos now works
during signature verification as well.  Document --exec-path.  Note in
--simple-sk-checksum that the passphrase must be changed for this to take
effect.  Note that --pgp7 does not disable MDC.  Document
--no-mdc-warning.

16 years agoChanged the lincese for Assuan to LGPL.
Werner Koch [Tue, 30 Jul 2002 17:38:54 +0000 (17:38 +0000)]
Changed the lincese for Assuan to LGPL.

16 years ago* options.h, g10.c (main), mainproc.c (proc_encrypted): Return a
David Shaw [Tue, 30 Jul 2002 16:48:21 +0000 (16:48 +0000)]
* options.h, g10.c (main), mainproc.c (proc_encrypted): Return a
decryption failed error if a MDC does not verify.  Warn if a MDC is not
present (can disable via --no-mdc-warning).

* exec.c (exec_write), g10.c (main), keyserver.c (keyserver_spawn): Use
new DISABLE_KEYSERVER_PATH rather than FIXED_EXEC_PATH.

16 years ago* README, configure.ac: --with-exec-path is now clarified into
David Shaw [Tue, 30 Jul 2002 16:04:18 +0000 (16:04 +0000)]
* README, configure.ac: --with-exec-path is now clarified into
--disable-keyserver-path

16 years ago* NEWS: changes since 1.1.90.
David Shaw [Tue, 30 Jul 2002 15:21:03 +0000 (15:21 +0000)]
* NEWS: changes since 1.1.90.

16 years ago* sig-check.c (do_check): Properly validate v4 sigs with no hashed section
David Shaw [Mon, 29 Jul 2002 03:07:11 +0000 (03:07 +0000)]
* sig-check.c (do_check): Properly validate v4 sigs with no hashed section
at all.

16 years ago* keyedit.c (menu_revsig): Change "revsig" to honor selected uids so the
David Shaw [Thu, 25 Jul 2002 22:59:25 +0000 (22:59 +0000)]
* keyedit.c (menu_revsig): Change "revsig" to honor selected uids so the
user can revoke sigs from particular uids only.

* keylist.c (list_keyblock_print): Don't display expired uids in
--list-keys unless -v and not --list-sigs (just like revoked uids).

16 years ago* gpg.sgml: Clarify the differences between "pref" and "showpref". Note in
David Shaw [Thu, 25 Jul 2002 20:25:59 +0000 (20:25 +0000)]
* gpg.sgml: Clarify the differences between "pref" and "showpref". Note in
"setpref" that a list of available algorithms can be printed with "gpg -v
--version".  Note in "updpref" that we don't select keys via attribute
uids, so preferences there will be ignored.

16 years ago* exec.c, export.c, import.c, keyedit.c, keyserver.c, misc.c: "Warning" ->
David Shaw [Thu, 25 Jul 2002 18:08:09 +0000 (18:08 +0000)]
* exec.c, export.c, import.c, keyedit.c, keyserver.c, misc.c: "Warning" ->
"WARNING"

16 years ago* random.c: "warning" -> "WARNING"
David Shaw [Thu, 25 Jul 2002 18:05:48 +0000 (18:05 +0000)]
* random.c: "warning" -> "WARNING"

16 years ago* gnupgbug: "Warning" -> "WARNING"
David Shaw [Thu, 25 Jul 2002 18:03:25 +0000 (18:03 +0000)]
* gnupgbug: "Warning" -> "WARNING"

16 years ago* gpgkeys_hkp.c: "Warning" -> "WARNING"
David Shaw [Thu, 25 Jul 2002 18:01:36 +0000 (18:01 +0000)]
* gpgkeys_hkp.c: "Warning" -> "WARNING"

16 years ago* secmem.c: "Warning" -> "WARNING"
David Shaw [Thu, 25 Jul 2002 18:00:00 +0000 (18:00 +0000)]
* secmem.c: "Warning" -> "WARNING"

16 years ago* config.links: Add special rule for OpenBSD on x86 to use special
David Shaw [Thu, 25 Jul 2002 17:56:07 +0000 (17:56 +0000)]
* config.links: Add special rule for OpenBSD on x86 to use special
i386-openbsd files.  OpenBSD (at least until version 3.1) has an older
assembler that won't work with the files in i386.

16 years agoThese are special i386 files for use on OpenBSD, which (at least until
David Shaw [Thu, 25 Jul 2002 17:52:40 +0000 (17:52 +0000)]
These are special i386 files for use on OpenBSD, which (at least until
version 3.1) has an older assembler that won't work with the files in
i386.

16 years ago* main.h, import.c (parse_import_options, fix_hkp_corruption, import_one,
David Shaw [Wed, 24 Jul 2002 21:17:19 +0000 (21:17 +0000)]
* main.h, import.c (parse_import_options, fix_hkp_corruption, import_one,
delete_inv_parts), g10.c (main): New import-option
"repair-hkp-subkey-bug", which repairs as much as possible the HKP
mangling multiple subkeys bug.  It is on by default for keyserver
receives, and off by default for regular --import.

* main.h, import.c (import, import_one, delete_inv_parts), hkp.c
(hkp_ask_import), keyserver.c (keyserver_spawn): Use keyserver import
options when doing keyserver receives.

16 years ago* options.h, exec.h, exec.c (set_exec_path, exec_write), g10.c (main),
David Shaw [Wed, 24 Jul 2002 19:24:08 +0000 (19:24 +0000)]
* options.h, exec.h, exec.c (set_exec_path, exec_write), g10.c (main),
keyserver.c (keyserver_spawn): If the user does not use "exec-path",
completely replace $PATH with GNUPG_LIBEXECDIR before calling the
keyserver helper.  If the user does use "exec-path", append
GNUPG_LIBEXECDIR after the specified path.

16 years ago* Makefile.am: Install keyserver helpers in @GNUPG_LIBEXECDIR@
David Shaw [Wed, 24 Jul 2002 18:42:38 +0000 (18:42 +0000)]
* Makefile.am: Install keyserver helpers in @GNUPG_LIBEXECDIR@

16 years ago* configure.ac: Include a GNUPG_LIBEXECDIR in g10defs.h, as well as a
David Shaw [Wed, 24 Jul 2002 18:38:56 +0000 (18:38 +0000)]
* configure.ac: Include a GNUPG_LIBEXECDIR in g10defs.h, as well as a
SUBST for Makefiles.

16 years ago* configure.ac: Include a GNUPG_LIBEXECDIR in g10defs.h
David Shaw [Wed, 24 Jul 2002 17:59:12 +0000 (17:59 +0000)]
* configure.ac: Include a GNUPG_LIBEXECDIR in g10defs.h

16 years agoremoved pragma for RISC OS
Stefan Bellon [Wed, 24 Jul 2002 15:02:14 +0000 (15:02 +0000)]
removed pragma for RISC OS

16 years ago* longlong.h: Replaced all K&R multiline strings by ISO ones for
Werner Koch [Wed, 24 Jul 2002 08:19:48 +0000 (08:19 +0000)]
* longlong.h: Replaced all K&R multiline strings by ISO ones for
the sake of modern compilers.  Suggested by Marco Parrone.

16 years ago* rndw32.c (slow_gatherer_windowsNT): Use a simple array for the
Werner Koch [Wed, 24 Jul 2002 07:42:16 +0000 (07:42 +0000)]
* rndw32.c (slow_gatherer_windowsNT): Use a simple array for the
disk performance structure and increase it to the size required by
W2000.

16 years agoAdd a new readon code for delet key.
Werner Koch [Wed, 24 Jul 2002 07:41:41 +0000 (07:41 +0000)]
Add a new readon code for delet key.

16 years agoForgot to commit this:
Werner Koch [Wed, 24 Jul 2002 07:40:53 +0000 (07:40 +0000)]
Forgot to commit this:
* photoid.c (get_default_photo_command): Also use __MINGW32__
instead of HAVE_DOSISH_SYSTEM.

16 years ago* import.c (parse_import_options), export.c (parse_export_options): Fix
David Shaw [Wed, 24 Jul 2002 03:37:55 +0000 (03:37 +0000)]
* import.c (parse_import_options), export.c (parse_export_options): Fix
offset problem with reversed ("no-") meanings.

16 years ago* import.c (delete_inv_parts): Discard subkey signatures (0x18 and 0x28)
David Shaw [Wed, 24 Jul 2002 03:29:02 +0000 (03:29 +0000)]
* import.c (delete_inv_parts): Discard subkey signatures (0x18 and 0x28)
if found in the userid section of the key.

16 years ago* sig-check.c (signature_check2): Signatures made by invalid subkeys
David Shaw [Tue, 23 Jul 2002 18:42:18 +0000 (18:42 +0000)]
* sig-check.c (signature_check2): Signatures made by invalid subkeys
(bad/missing binding sig) are also invalid.

* keylist.c (print_fingerprint): Show the primary as well as the secondary
key fingerprint in modes 1 & 2.

16 years ago2002-07-22 Timo Schulz <ts@winpt.org>
Timo Schulz [Tue, 23 Jul 2002 08:54:40 +0000 (08:54 +0000)]
2002-07-22  Timo Schulz  <ts@winpt.org>

        * configure.ac: Replace the 'c:/' variables with 'c:\' due
        to the fact we already use '\' in the remaining code.

16 years ago* options.h, main.h, g10.c (main), import.c (parse_import_options,
David Shaw [Mon, 22 Jul 2002 22:26:14 +0000 (22:26 +0000)]
* options.h, main.h, g10.c (main), import.c (parse_import_options,
delete_inv_parts), keyserver.c (parse_keyserver_options): add new
--import-options option.  The only current flag is "allow-local-sigs".

* g10.c (main): Don't disable MDC in pgp7 mode.

* options.h, g10.c (main), keyserver.c (parse_keyserver_options): Remove
old keyserver-option include-attributes now that there is an export-option
for the same thing.

16 years ago* options.h, main.h, export.c (parse_export_options, do_export_stream),
David Shaw [Mon, 22 Jul 2002 19:07:21 +0000 (19:07 +0000)]
* options.h, main.h, export.c (parse_export_options, do_export_stream),
g10.c (main): add new --export-options option. Current flags are
"include-non-rfc", "include-local-sigs", "include-attributes", and
"include-sensitive-revkeys".

* options.h, hkp.c (hkp_export), keyserver.c (parse_keyserver_options,
keyserver_spawn): try passing unknown keyserver options to export options,
and if successful, use them when doing a keyserver --send-key.

* build-packet.c (build_sig_subpkt): We do not generate
SIGSUBPKT_PRIV_VERIFY_CACHE anymore.

16 years ago* revoke.c (gen_desig_revoke): Lots more comments about including
David Shaw [Mon, 22 Jul 2002 17:52:02 +0000 (17:52 +0000)]
* revoke.c (gen_desig_revoke): Lots more comments about including
sensitive revkeys along with the revocation sig itself.

* keyserver.c (parse_keyserver_options): Simpler implementation that can
skip one pass over the options.

16 years ago* keydb.c (keydb_add_resource): Register a lock file.
Werner Koch [Mon, 22 Jul 2002 13:14:48 +0000 (13:14 +0000)]
* keydb.c (keydb_add_resource): Register a lock file.
(lock_all, unlock_all): Implemented.

16 years ago* delete.c: New.
Werner Koch [Mon, 22 Jul 2002 10:23:10 +0000 (10:23 +0000)]
* delete.c: New.
* gpgsm.c: Made --delete-key work.
* server.c (cmd_delkeys): New.
(register_commands): New command DELKEYS.

* decrypt.c (gpgsm_decrypt): Print a convenience note when RC2 is
used and a STATUS_ERROR with the algorithm oid.

16 years ago* keybox-defs.h: New BLOBTYPTE_EMPTY.
Werner Koch [Mon, 22 Jul 2002 10:21:04 +0000 (10:21 +0000)]
* keybox-defs.h: New BLOBTYPTE_EMPTY.
* keybox-dump.c (_keybox_dump_blob): Handle new type.
* keybox-file.c (_keybox_read_blob): Skip over empty blobs.  Store
the file offset.
* keybox-blob.c (_keybox_new_blob): Add new arg OFF.
(_keybox_get_blob_fileoffset): New.
* keybox-update.c (keybox_delete): Implemented.

16 years ago* fseeko.c, ftello.c: New.
Werner Koch [Mon, 22 Jul 2002 10:20:39 +0000 (10:20 +0000)]
* fseeko.c, ftello.c: New.

* configure.ac: Check for ftello and provide a replacement.

16 years ago* keyedit.c (keyedit_menu, menu_addrevoker): Allow specifying "sensitive"
David Shaw [Fri, 19 Jul 2002 05:08:54 +0000 (05:08 +0000)]
* keyedit.c (keyedit_menu, menu_addrevoker): Allow specifying "sensitive"
as an argument to an addrevoker command.  This sets the 0x40 sensitive
revoker flag.

* revoke.c (gen_desig_revoke): When generating a designated revocation,
include the direct key sig that contains the designated revoker subpacket.
This allows sensitive designated revocation subpackets to be exported.
Also indicate which revokers are sensitive in the first place.

16 years ago* keyedit.c (show_key_with_all_names_colon): The 0x40 class bit in a
David Shaw [Wed, 17 Jul 2002 19:48:19 +0000 (19:48 +0000)]
* keyedit.c (show_key_with_all_names_colon): The 0x40 class bit in a
designated revoker means "sensitive", not "local".  It's exportable under
the right circumstances.

* main.h, options.h, export.c (do_export_stream), g10.c (main), hkp.c
(hkp_export), keyserver.c (keyserver_spawn: Add a flag to skip attribute
packets and their signatures while exporting.  This is to accomodate
keyservers (pksd again) that choke on attributes. Use keyserver-option
"include-attributes" to control it.  This defaults to ON (i.e. don't
skip).

16 years ago* gpgkeys_ldap.c (send_key, get_key, main): Consult the server version
David Shaw [Mon, 15 Jul 2002 23:13:48 +0000 (23:13 +0000)]
* gpgkeys_ldap.c (send_key, get_key, main): Consult the server version
string to determine whether to use pgpKey or pgpKeyV2.

16 years ago* options.h, keyserver.c (parse_keyserver_uri, keyserver_spawn,
David Shaw [Tue, 9 Jul 2002 19:40:18 +0000 (19:40 +0000)]
* options.h, keyserver.c (parse_keyserver_uri, keyserver_spawn,
keyserver_work), hkp.c (hkp_ask_import, hkp_export, hkp_search): Use a
much more strict reading of RFC-2396 for the keyserver URIs. Specifically,
don't try and be smart about checking the value of ":port" so long as it
is all digits, and properly handle opaque data (those scheme specific
parts that do not start with "//").

16 years ago* gpgkeys_mailto.in: Use new OPAQUE tag for non net-path URIs. Fail more
David Shaw [Tue, 9 Jul 2002 19:19:25 +0000 (19:19 +0000)]
* gpgkeys_mailto.in: Use new OPAQUE tag for non net-path URIs. Fail more
elegantly if there is no email address to send to.  Show the GnuPG version
in the message body.

----------------------------------------------------------------------
gpgkeys_mailto.in CVS:
----------------------------------------------------------------------

16 years ago* configure.ac: Add --with-mailprog to override the use of sendmail with
David Shaw [Tue, 9 Jul 2002 02:55:00 +0000 (02:55 +0000)]
* configure.ac: Add --with-mailprog to override the use of sendmail with
another MTA.  We can use anything that follows the "$MAILPROG -t"
convention.