1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-12 21:58:50 +01:00
Commit Graph

1217 Commits

Author SHA1 Message Date
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
David Shaw
772ff76486 * types.h: Revert previous change. This sort of thing is better done in
autoconf.
2003-09-04 02:50:36 +00:00
David Shaw
8220c4356b * configure.ac: Check for UINT64_C to go along with uint64_t. 2003-09-04 02:49:15 +00:00
David Shaw
8ef5348dd4 * types.h: Non-POSIX environments may have uint64_t but not UINT64_C. 2003-09-03 02:52:06 +00:00
David Shaw
33f0c46571 * keylist.c (show_policy_url): Policy URLs might be UTF8. 2003-08-31 03:37:17 +00:00
David Shaw
eb5309d0bc * keyedit.c (menu_addrevoker): Fix leaking a few bytes. 2003-08-31 02:57:25 +00:00
David Shaw
2f2fba641b * gpgv.c: s/__MINGW32__/_WIN32/ to help building on native Windows
compilers.  Requested by Brian Gladman.
2003-08-29 00:04:28 +00:00
Werner Koch
3f11cf5d35 * autogen.sh: Touch po/all for --build-w32. 2003-08-26 07:04:31 +00:00
David Shaw
33c0e98761 * keyedit.c (change_passphrase): When responding 'no' to the blank
passphrase question, re-prompt for a new passphrase.  This is bug #202.
2003-08-26 00:20:53 +00:00
Werner Koch
fd4be49da8 * DETAILS: Removed paragraph on gdbm usage. Notes that pipemode
is deprecated.
2003-08-23 07:50:54 +00:00
Werner Koch
b760ade21d Post release version number bump. 2003-08-21 21:07:49 +00:00
Werner Koch
aa10792581 About to release 1.2.3 2003-08-21 19:45:43 +00:00
Werner Koch
9bfae1f9b4 Preparing release 2003-08-21 17:18:45 +00:00
Werner Koch
ebdccb9e47 * keyserver.c (keyserver_search_prompt): Flush stdout before
issuing the prompt.  Requested by Todd Vierling.

* samplekeys.asc: Refreshed the keys.
2003-08-21 17:17:13 +00:00
David Shaw
1bb860c320 * THANKS: Thank Nelson H. F. Beebe. 2003-08-21 02:58:50 +00:00
David Shaw
9fb045f01c * options.skel: Note that keyserver.pgp.com isn't synchronized, and
explain the roundrobin a bit better.

* sig-check.c (check_key_signature2), import.c (import_one,
import_revoke_cert, chk_self_sigs, delete_inv_parts, collapse_uids,
merge_blocks): Make much quieter during import of slightly munged, but
recoverable, keys. Use log_error for unrecoverable import failures.
2003-08-19 02:58:25 +00:00
David Shaw
82dc505d6f * keyring.c (keyring_rebuild_cache): Comment.
* sign.c (mk_notation_and_policy): Making a v3 signature with notations or
policy urls is an error, not an info (i.e. increment the errorcount).
Don't print the notation or policy url to stdout since it can be mixed
into the output stream when piping and munge the stream.
2003-08-13 03:02:09 +00:00
David Shaw
9789ea5ab4 * random.c (getfnc_gather_random): Don't check NAME_OF_DEV_RANDOM twice.
Use NAME_OF_DEV_URANDOM.
2003-08-13 02:34:20 +00:00