mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* options.h, g10.c (main), getkey.c (finish_lookup), pkclist.c
(algo_available): --pgp7, identical to --pgp6 except that it permits a few algorithms that PGP 7 added: AES128, AES192, AES256, and TWOFISH. Any more of these --pgpX flags, and it'll be time to start looking at a generic --emulate-pgp X option.
This commit is contained in:
parent
d5d974536e
commit
7ee8e46500
5 changed files with 40 additions and 20 deletions
|
@ -1834,10 +1834,10 @@ finish_lookup (GETKEY_CTX ctx)
|
|||
#define USAGE_MASK (PUBKEY_USAGE_SIG|PUBKEY_USAGE_ENC)
|
||||
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 is on (since pgp 6 (and 7) do not
|
||||
understand signatures made by a signing subkey. */
|
||||
if signing data while --pgp6 or --pgp7 is on since pgp 6 and 7
|
||||
do not understand signatures made by a signing subkey. */
|
||||
int req_prim = (ctx->req_usage & PUBKEY_USAGE_CERT) ||
|
||||
(opt.pgp6 && (ctx->req_usage & PUBKEY_USAGE_SIG));
|
||||
((opt.pgp6 || opt.pgp7) && (ctx->req_usage & PUBKEY_USAGE_SIG));
|
||||
u32 latest_date;
|
||||
KBNODE latest_key;
|
||||
u32 curtime = make_timestamp ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue