Werner Koch
7ced4e41ba
* md.c (md_start_debug): Need to open the file in binary mode.
2003-04-15 12:16:47 +00:00
Werner Koch
7b63a8ed5c
Reverted recent changes to --output. This is the stable branch and it
...
might break applications.
2003-04-14 07:52:18 +00:00
Timo Schulz
b79275a66f
Forgot to sync the CVS. Check in the code again.
2003-04-13 10:09:57 +00:00
Werner Koch
5ee4951f28
Return cancel flag also for the old agent protocol.
2003-04-10 08:51:29 +00:00
Werner Koch
ed16a85de8
* passphrase.c (read_passphrase_from_fd): Do a dummy read if the
...
agent is to be used. Noted by Ingo Kl�cker.
(agent_get_passphrase): Inhibit caching when we have no
fingerprint. This is required for key generation as well as for
symmetric only encryption.
2003-04-10 07:23:44 +00:00
Werner Koch
3ff3ac5ba4
* passphrase .c (agent_get_passphrase): New arg CANCELED.
...
(passphrase_to_dek): Ditto. Passed to above. Changed all
callers to pass NULL.
* seckey-cert.c (do_check): New arg CANCELED.
(check_secret_key): Terminate loop when canceled.
* keyedit.c (change_passphrase): Pass ERRTEXT untranslated to
passphrase_to_dek and translate where appropriate.
* seckey-cert.c (check_secret_key): Ditto.
* keygen.c (ask_passphrase): Ditto.
* passphrase.c (agent_get_passphrase): Translate the TRYAGAIN_TEXT.
Switch the codeset to utf-8.
2003-04-09 15:17:20 +00:00
Werner Koch
5a9e7663c1
* decrypt.c (decrypt_messages): Fixed error handling; the fucntion
...
used to re-loop with same file after an error. Reported by Joseph
Walton.
2003-04-09 08:03:17 +00:00
David Shaw
78da3fdfaa
* hkp.c (dehtmlize): Fix bug #121 (memory corruption on some platforms).
...
Special thanks to Michael C. Toren for his help in lining up a sparc to
test this fix on.
* keyserver.c (keyserver_work): Call out error for keyserver helper with a
different version than us.
* main.h, g10.c (main), import.c (parse_import_options,
fix_pks_corruption): It's really PKS corruption, not HKP corruption.
Keep the old repair-hkp-subkey-bug command as an alias.
* g10.c (main): Rename --no-version to --no-emit-version for consistency.
Keep --no-version as an alias.
2003-04-09 01:01:22 +00:00
David Shaw
001ff9a09e
* configure.ac: Big warning that TIGER is being removed from the standard.
2003-04-08 23:22:54 +00:00
Werner Koch
7b94419cf9
Removed spurious character ('g' probably to early hit it for
...
cvs-update or well, Gnus mailcheck)
2003-04-08 09:12:43 +00:00
Werner Koch
3330c63a05
* Makefile.am (EXTRA_DIST): Add autogen.sh wrapper which is
...
useful for some cross-compiling targets.
2003-04-08 08:37:18 +00:00
Werner Koch
17e12f2ec1
New option --build-uclinux.
2003-04-08 08:28:26 +00:00
David Shaw
d605ac20ab
* acinclude.m4: Fix URL to faqprog.pl.
...
* README: Add --enable-sha512 switch and update version number and
copyright date.
* NEWS: Add note about SHA-256/384/512.
2003-04-07 21:32:54 +00:00
David Shaw
540840a67d
* Makefile.am: Allow CVS version to build without faqprog.pl.
...
* gpg.sgml: Some cleanup of --no-xxx options, make sure that all SGML tags
are closed, clarify --pgp8 allows SHA-256, and document --no-emit-version.
2003-04-07 21:27:48 +00:00
David Shaw
f4a70a3dd4
* pkclist.c (algo_available): PGP 8 can use the SHA-256 hash.
...
* sign.c (sign_file, clearsign_file, sign_symencrypt_file): Remove unused
code.
2003-04-04 22:45:22 +00:00
David Shaw
30a3c7b2b6
* keydb.h: Err on the side of making an unknown signature a SIG rather
...
than a CERT.
* import.c (delete_inv_parts): Discard any key signatures that aren't key
types (i.e. 0x00, 0x01, etc.)
2003-03-24 17:26:09 +00:00
Werner Koch
38774d1d78
New option --build-coldfire
2003-03-24 08:46:43 +00:00
Werner Koch
d7383d7eed
Make use of AM_CFLAGS.
2003-03-24 08:46:11 +00:00
Werner Koch
a6d00a753c
* configure.ac: Test for ranlib and ar.
...
* Makefile.am: Make use of AM_CFLAGS and AM_LDFLAGS.
2003-03-24 08:45:24 +00:00
David Shaw
2c6d545517
* dcigettext.c (plural_lookup): Name conflict on some platforms with
...
"index". Local fix for GnuPG.
2003-03-23 20:47:27 +00:00
David Shaw
198e65a1ed
* Makefile.am: gpgkeys_hkp needs @INTLLIBS@ on some platforms.
2003-03-23 16:33:18 +00:00
David Shaw
95670642eb
* argparse.c (default_strusage): Change copyright date.
2003-03-23 16:21:28 +00:00
David Shaw
27174e551e
* status.c (do_get_from_fd): Accept 'y' as well as 'Y' for --command-fd
...
boolean input.
* g10.c (main): Add deprecated option warning for --list-ownertrust. Add
--compression-algo alias for --compress-algo. Change --version output
strings to match "showpref" strings, and make translatable.
2003-03-21 22:55:48 +00:00
Werner Koch
a73a76b34e
* compress.c (init_uncompress): Use a 15 bit window size so that
...
the output of implementations which don't run for PGP 2
compatibility won't get garbled.
2003-03-10 09:59:54 +00:00
Werner Koch
c05a2dd67c
* compress.c (init_uncompress): Use a 15 bit window size so that
...
the output of implementations which don't run for PGP 2
compatibility won't get garbled.
2003-03-10 09:59:33 +00:00
David Shaw
1dc153dfd2
* passphrase.c (agent_get_passphrase): Fix memory leak with symmetric
...
messages. Fix segfault with symmetric messages. Fix incorrect prompt
with symmetric messages.
2003-03-05 15:34:42 +00:00
David Shaw
034bbc759f
* options.skel: Add explantion and commented-out
...
"no-mangle-dos-filenames".
* mainproc.c (proc_encrypted): Make string translatable.
* keygen.c (keygen_set_std_prefs): Include AES192, and AES256 in default
prefs.
2003-03-04 14:24:41 +00:00
David Shaw
208509950c
* keyring.c (keyring_rebuild_cache): Lock the keyring while rebuilding the
...
signature caches to prevent another gpg from tampering with the temporary
copy.
* keydb.c: Double the maximum number of keyrings to 40.
* parse-packet.c (dump_sig_subpkt): Show the notation names for
not-human-readable notations. Fix cosmetic off-by-one length counter.
2003-03-03 20:27:02 +00:00
Timo Schulz
16c925f68a
2003-03-02 Timo Schulz <twoaday@freakmail.de>
...
* seckey-cert.c (do_check): Issue the RSA_OR_IDEA status when
the cipher algo is IDEA to make it easier to track down the problem.
2003-03-02 11:58:24 +00:00
David Shaw
8655a545af
* trustdb.c (validate_keys): Mask the ownertrust when building the list of
...
fully valid keys so that disabled keys are still counted in the web of
trust.
* gpgv.c (main): Fix bug #113 - gpgv should accept the
--ignore-time-conflict option.
* g10.c (main): Use 3DES for the s2k cipher in --openpgp mode. Double the
amount of secure memory to 32k (keys are getting bigger these days).
2003-02-26 20:40:34 +00:00
David Shaw
838fe750bb
* gpg.sgml: Document "revuid". Clarify that --openpgp resets --pgpX.
...
* samplekeys.asc: Updated.
2003-02-25 01:29:51 +00:00
David Shaw
27d868c50b
* Makefile.am: Distribute convert-from-106.
2003-02-23 05:18:37 +00:00
David Shaw
f344404b12
* distfiles, gnupg.spec.in: convert-from-106 is in the tools directory
...
now.
2003-02-23 05:16:58 +00:00
David Shaw
9a80333f49
* g10.c (main): --openpgp disables --pgpX.
...
* keyedit.c (show_prefs): Make strings translatable.
2003-02-23 00:07:00 +00:00
David Shaw
2bffa31fcc
* ttyio.c (tty_print_utf8_string, tty_print_utf8_string2): Use 0 to
...
indicate a string with no maximum size. This prevents early truncation of
strings that contain control chars which are expanded into \xXX form.
2003-02-19 19:23:55 +00:00
David Shaw
047a84911a
* configure.ac: Define @CAPLIBS@ to link in -lcap if we are using
...
capabilities.
2003-02-19 18:28:02 +00:00
David Shaw
fde4e0badb
* Makefile.am: Use @CAPLIBS@ to link in -lcap if we are using
...
capabilities.
2003-02-19 18:26:40 +00:00
David Shaw
651b713d12
* sign.c (sign_file): Do not push textmode filter onto an unopened IOBUF
...
(segfault). Noted by Marcus Brinkmann. Push and reinitialize textmode
filter for each file in a multiple file list.
2003-02-13 02:26:45 +00:00
David Shaw
eee851ad83
* Makefile.am: Make sure sha512.c is included in the tarball.
2003-02-12 04:49:16 +00:00
David Shaw
591dac51f9
* Makefile.am: Use the more correct @PACKAGE@ rather than "gnupg".
2003-02-12 03:48:48 +00:00
David Shaw
1bf92102fd
* convert-from-106: Script to automate the 1.0.6->later conversion. It
...
marks all secret keys as ultimately trusted, adds the signature caches,
and checks the trustdb. Moved from the scripts directory.
2003-02-11 15:51:47 +00:00
David Shaw
d1456b8721
* convert-from-106: Move to the tools directory.
2003-02-11 15:49:10 +00:00
David Shaw
40d6d881b4
* configure.ac: Add --enable-sha512 switch to add SHA384/512 support.
2003-02-11 15:11:11 +00:00
David Shaw
4eafcfb13b
* g10.c (print_mds): Check that SHA384 and 512 are available before using
...
them as they are no longer always available.
* exec.c (set_exec_path): Add debugging line.
* Makefile.am: Use the more correct @PACKAGE@ rather than "gnupg".
2003-02-11 15:05:33 +00:00
David Shaw
ff8406b3d8
* Makefile.am, md.c (load_digest_module): Only build in SHA384/512 if
...
specifically enabled.
2003-02-11 14:49:16 +00:00
David Shaw
b39a328583
* Makefile.am: Use a local copy of libexecdir so it can be easily
...
overridden at make time.
2003-02-06 21:25:10 +00:00
David Shaw
e2963095c0
* Makefile.am: Pass GNUPG_LIBEXECDIR as part of CFLAGS so it can be easily
...
overridden at make time.
2003-02-06 21:23:02 +00:00
David Shaw
b7e3a74231
* configure.ac: Do not set GNUPG_LIBEXECDIR in ./configure, so that
...
makefiles can override it.
2003-02-06 21:21:05 +00:00
David Shaw
d52392f9e1
* g10.c (print_hex, print_mds): Print long hash strings a lot neater.
...
This assumes at least an 80-character display, as there are a few other
similar assumptions here and there. Users who need unformatted hashes can
still use with-colons.
2003-02-05 16:22:30 +00:00
David Shaw
443e083f4a
* armor.c (parse_hash_header, armor_filter): Accept the new SHAs in the
...
armor Hash: header.
* g10.c (print_hex): Print long hash strings a little neater. (print_mds):
Add the new SHAs to the hash list.
2003-02-04 18:59:22 +00:00