aboutsummaryrefslogtreecommitdiffstats
path: root/g10/getkey.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2002-12-03 23:31:48 +0000
committerDavid Shaw <[email protected]>2002-12-03 23:31:48 +0000
commite357092285709f24f84a76f25022b5761157eb4d (patch)
tree8d9d9b26246e2ed19f770d012c297351494aeeb8 /g10/getkey.c
parentMarked unused slots in the trustdb. (diff)
downloadgnupg-e357092285709f24f84a76f25022b5761157eb4d.tar.gz
gnupg-e357092285709f24f84a76f25022b5761157eb4d.zip
* options.h, g10.c (main), encode.c (write_pubkey_enc_from_list),
pkclist.c (algo_available), revoke.c (gen_revoke): Add --pgp8 mode. This is basically identical to --pgp7 in all ways except that signing subkeys, v4 data sigs (including expiration), and SK comments are allowed. * getkey.c (finish_lookup): Comment. * main.h, keylist.c (reorder_keyblock), keyedit.c (keyedit_menu): Reorder user ID display in the --edit-key menu to match that of the --list-keys display. * g10.c (add_notation_data): Fix initialization.
Diffstat (limited to 'g10/getkey.c')
-rw-r--r--g10/getkey.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/getkey.c b/g10/getkey.c
index 93ef8b04f..ffd5042bc 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -2056,7 +2056,8 @@ finish_lookup (GETKEY_CTX ctx)
unsigned int req_usage = ( ctx->req_usage & USAGE_MASK );
/* Request the primary if we're certifying another key, and also
if signing data while --pgp6 or --pgp7 is on since pgp 6 and 7
- do not understand signatures made by a signing subkey. */
+ do not understand signatures made by a signing subkey. PGP 8
+ does. */
int req_prim = (ctx->req_usage & PUBKEY_USAGE_CERT) ||
((opt.pgp6 || opt.pgp7) && (ctx->req_usage & PUBKEY_USAGE_SIG));
u32 latest_date;