1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-13 22:08:52 +01:00
Commit Graph

1334 Commits

Author SHA1 Message Date
Werner Koch
069ab845d1 * zh_TW.po, fi.po: Updated from upstream.
* be.po: New.
* de.po: Updated.
* ru.po: Added.  New version by Maxim Britov.
2003-12-03 15:18:42 +00:00
Werner Koch
50201ba062 Added Brian Gladman's contributions 2003-12-03 15:14:03 +00:00
Werner Koch
6970faab8f * mainproc.c (check_sig_and_print): Removed the "0x" again.
Reverts change from 2003-10-03.

* THANKS: Added Phong Nguyen, who found the Elgamal signing key
problem.

* configure.ac (ALL_LINGUAS): Added a Russian translation; thanks
to Maxim Britov.  Added Belarusion; thanks to Ales Nyakhaychyk.
2003-12-03 15:11:23 +00:00
David Shaw
02d27268ca * miscutil.c (answer_is_yes_no_default, answer_is_yes_no_quit): Don't use
alternate strings when not needed so we don't have to re-translate them.
Hopefully the comment will be enough to indicate multiple match strings.
2003-12-03 13:35:09 +00:00
David Shaw
2af7f3b03d * gpgsplit.c (write_part): Split off decompression code. (handle_zlib):
Move it here. (handle_bzip2): Add this to handle BZIP2 compressed
messages.
2003-12-03 03:26:37 +00:00
David Shaw
2a3150cd7c * NEWS: Note that Elgamal sign+encrypt keys are not part of the web of
trust.
2003-12-02 05:50:11 +00:00
David Shaw
e399da2ed0 * cipher.h: Make cipher list match 2440bis-09. 2003-12-02 05:24:55 +00:00
David Shaw
39e551985d * g10.c (strusage, main): Show development version warning in --version
output.

* trustdb.c (mark_usable_uid_certs): Disallow signatures to and from an
Elgamal signing key in the trustdb.
2003-12-02 05:22:42 +00:00
David Shaw
a2d7e4b27c * config.links: Show target in asm-syntax.h file and include targets for
K*BSD (GNU userland with BSD kernel).
2003-12-02 05:13:35 +00:00
David Shaw
b4fcffbf88 * README: Add --with-zlib, --with-bzip2, and --without-bzip2. 2003-12-01 00:26:30 +00:00
David Shaw
e1ff4a3305 * README: Update version number. Add BZIP2. Remove Elgamal sign+encrypt. 2003-11-30 23:58:42 +00:00
David Shaw
b713d8464f * keygen.c (ask_algo): Remove ability to generate Elgamal sign+encrypt
keys.
2003-11-29 22:59:10 +00:00
David Shaw
96afb2dcfb * NEWS: Note that the only thing we will generate with an Elgamal
sign+encrypt key is a revocation.
2003-11-29 22:45:48 +00:00
David Shaw
74e3c5ac7d * revoke.c (gen_desig_revoke): Specify in the comment when a designated
revocation is generated.

* getkey.c (merge_selfsigs_main, merge_selfsigs_subkey,
get_seckey_byname2): Disallow use of sign+encrypt Elgamal keys for
anything except revocations.

* sign.c (do_sign): Catchall for any Elgamal signatures except
revocations.
2003-11-29 22:44:05 +00:00
David Shaw
dfd8b9d8d3 * elgamal.c (gen_k): New arg SMALL_K. (sign): Use it here with SMALL_K set
to false (do_encrypt): and here with SMALL_K set to true.  From Werner on
devel branch.
2003-11-29 20:07:39 +00:00
David Shaw
60cdcf61f5 * trustdb.c (validate_keys): Reset the trustdb before checking if we have
any ultimately trusted keys.  This ensures that if we lose all our
ultimately trusted keys, we don't leave behind the old validity
calculations.
2003-11-29 15:03:31 +00:00
Werner Koch
5dc9a30878 * gpgkeys_hkp.c (get_key): Fixed bad use of fprintf w/o format
string.
2003-11-27 12:18:20 +00:00
David Shaw
78b2e8a17d * Makefile.am: Include TRANSLATE in distributed files. 2003-11-21 01:16:28 +00:00
David Shaw
e81f523ca2 * util.h: Add prototype for match_multistr(). 2003-11-21 01:02:46 +00:00
David Shaw
f909811a73 * seskey.c (do_encode_md): Comment about earlier (pre-PGP 2.3) encodings.
* misc.c (compress_algo_to_string): Translate "Uncompressed". Requested by
Tommi Vainikainen.
2003-11-21 00:55:41 +00:00
David Shaw
38722f4caa * miscutil.c (match_multistr): New. Match against each segment in a
string with tokens separated by |. (answer_is_yes_no_default,
answer_is_yes_no_quit): Use it here to enable alternate translations.
2003-11-21 00:54:20 +00:00
David Shaw
de199636e9 * TRANSLATE: New, note to translators about the yes|yes multiple match
syntax.

* gpg.sgml: Document --compress-level.  Some minor tweaks to other
entries.
2003-11-20 13:02:42 +00:00
David Shaw
31ea8b4b08 * config.links: sparc64 assembler doesn't work on FreeBSD or OpenBSD
either.
2003-11-17 04:06:11 +00:00
David Shaw
4e4a23de9e * compress-bz2.c (init_compress): Compression level 0 is not meaningful
for bzip2.
2003-11-15 23:49:44 +00:00
David Shaw
964cb93108 * g10.c: Add --compress-level (same as -z). 2003-11-15 13:40:20 +00:00
David Shaw
444ccb2fad * NEWS: Note BZIP2 and --symmetric --encrypt. 2003-11-13 03:54:54 +00:00
David Shaw
96f429ecee * mainproc.c (proc_symkey_enc): Don't show algorithm information when
--quiet is set.  Suggested by Duncan Harris.  Also don't fail with BUG()
when processing a --symmetric message with a cipher we don't have.

* pkclist.c (build_pk_list): Revert last change.  There are too many side
effects for stable.
2003-11-06 05:12:20 +00:00
David Shaw
71e1d13238 * pkclist.c (build_pk_list): Show all recipients rather than showing each
recipient as they are added.
2003-11-01 01:03:10 +00:00
David Shaw
ef3f432bc5 * misc.c (compress_algo_to_string, check_compress_algo): Add bzip2.
* g10.c (main): Add read-only warning.

* 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.
2003-10-31 04:57:17 +00:00
David Shaw
5c8f990e85 Missed a line 2003-10-31 04:45:32 +00:00
David Shaw
ba38a9c7b7 * configure.ac: Locate libbz2 for bzip2 compression support. 2003-10-31 04:29:38 +00:00
David Shaw
38282fca0c * cipher.h: Add COMPRESS_ALGO_BZIP2. 2003-10-31 00:51:33 +00:00
David Shaw
0a20226c6d * configure.ac (DLLIBS): Work properly on platforms where dlopen and
friends are in libc instead of libdl.
2003-10-27 12:46:18 +00:00
David Shaw
ef0ade2d78 * 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.
2003-10-26 23:17:47 +00:00
David Shaw
ea4d713e88 * 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.
2003-10-26 02:31:48 +00:00
Werner Koch
5c67438a67 * secmem.c (lock_pool) [_AIX]: Don't use plock. 2003-10-23 07:47:02 +00:00
Werner Koch
1865540567 * configure.ac (PRINTABLE_OS_NAME): Remove special case for The
Hurd; Robert Millan reported that the uname test is now
sufficient.
2003-10-21 12:54:28 +00:00
Werner Koch
5c5c4b51ba * longlong.h: Added PowerPC 64 bit code from GPM-4.1.2 but didn't
enabled it yet.
2003-10-21 12:54:13 +00:00
David Shaw
cc1e739560 * g10.c (main): Fix --export-all do actually do something different than
--export.
2003-10-17 03:56:30 +00:00
Werner Koch
66716c7349 * POTFILES.in (cipher/primegen.c): Added.
* primegen.c (gen_prime): Bail out if we try to generate a prime
with less than 16 bits.
2003-10-10 09:19:52 +00:00
Werner Koch
240923a492 * primegen.c (gen_prime): Bail out if NBITS is zero. This is
Debian bug #213989 reported by Max <rusmir@tula.net>.
2003-10-06 12:09:30 +00:00
Werner Koch
342ae2b472 * mainproc.c (check_sig_and_print): Prefix the key ID printed with
0x.  Requested by Nelson H. F. Beebe.
2003-10-03 12:49:48 +00:00
David Shaw
239753826f * samplekeys.asc: Update 99242560.
* gpg.sgml: Document --no-groups.
2003-10-01 14:35:50 +00:00
David Shaw
23832b60d8 * 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 --cipher-algo.  This code is never actually called in stable, but
better to fix it here in case we branch in the future.

* parse-packet.c (parse_subkeyenc): Call it a "symmetrically encrypted
session key" since "session key decryption key" is just baffling.  Neaten
--list-packets output.

* pubkey-enc.c (get_it): Always show cipher-not-in-prefs warning unless
--quiet is set.
2003-10-01 14:19:30 +00:00
David Shaw
ffc2ff3261 * gpg.sgml: Note web bug behavior of auto-key-retrieve. Note that big
photos mean big keys.  Document --rfc2440.
2003-09-30 21:39:47 +00:00
David Shaw
6e3c6e6bcb * parse-packet.c (parse_symkeyenc): Give a warning if a session key
decryption key is seen without salt.  Show in --list-packets if a session
key decryption key is present.
2003-09-30 17:27:02 +00:00
David Shaw
c22c4261f4 * g10.c (main): Deprecate --no-comment in favor of --no-sk-comments. 2003-09-23 03:43:12 +00:00
David Shaw
bb345baf45 * g10.c (main): Deprecate -f in favor of --encrypt-files. 2003-09-12 00:43:12 +00:00
David Shaw
0cf79eed68 * 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).
2003-09-09 00:20:21 +00:00
David Shaw
54d55d4147 * 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.
2003-09-05 23:55:51 +00:00