gnupg/g10 (20 files)
cvs user dshaw
cvs@cvs.gnupg.org
Sat, 03 May 2003 06:07:56 +0200
Date: Saturday, May 3, 2003 @ 06:07:46
Author: dshaw
Path: /cvs/gnupg/gnupg/g10
Modified: ChangeLog armor.c build-packet.c cipher.c encode.c export.c
g10.c getkey.c import.c keydb.h keyedit.c keyserver.c main.h
misc.c options.h packet.h parse-packet.c pkclist.c revoke.c
sign.c
* packet.h, build-packet.c (build_sig_subpkt), export.c
(do_export_stream), import.c (remove_bad_stuff, import), parse-packet.c
(dump_sig_subpkt, parse_one_sig_subpkt): Remove vestigal code for the old
sig cache subpacket. This wasn't completely harmless as it caused
subpacket 101 to disappear on import and export.
* options.h, armor.c, cipher.c, g10.c, keyedit.c, pkclist.c, sign.c,
encode.c, getkey.c, revoke.c: The current flags for different levels of
PGP-ness are massively complex. This is step one in simplifying them. No
functional change yet, just use a macro to check for compliance level.
* sign.c (sign_file): Fix bug that causes spurious compression preference
warning.
* sign.c (clearsign_file): Fix bug that prevents proper warning message
from appearing when clearsigning in --pgp2 mode with a non-v3 RSA key.
* main.h, misc.c (compliance_option_string, compliance_string,
compliance_failure), pkclist.c (build_pk_list), sign.c (sign_file,
clearsign_file), encode.c (encode_crypt, write_pubkey_enc_from_list): New
functions to put the "this message may not be usable...." warning in one
place.
* options.h, g10.c (main): Part two of the simplification. Use a single
enum to indicate what we are compliant to (1991, 2440, PGPx, etc.)
* g10.c (main): Show errors for failure in export, send-keys, recv-keys,
and refresh-keys.
* options.h, g10.c (main): Give algorithm warnings for algorithms chosen
against the --pgpX and --openpgp rules.
* keydb.h, pkclist.c (algo_available): Make TIGER192 invalid in --openpgp
mode.
* sign.c (sign_file), pkclist.c (algo_available): Allow passing a hint of
0.
----------------+
ChangeLog | 44 ++++++++
armor.c | 4
build-packet.c | 3
cipher.c | 2
encode.c | 35 ++----
export.c | 4
g10.c | 286 ++++++++++++++++++++++++++++++++-----------------------
getkey.c | 2
import.c | 18 ---
keydb.h | 5
keyedit.c | 8 -
keyserver.c | 5
main.h | 2
misc.c | 47 +++++++++
options.h | 17 ++-
packet.h | 1
parse-packet.c | 21 ----
pkclist.c | 94 +++++++++---------
revoke.c | 2
sign.c | 43 ++++----
20 files changed, 381 insertions(+), 262 deletions(-)