mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01:00
* gpg.c (main): Restore convert-sk-to-pk as programs rely on it.
* keyid.c (usagestr_from_pk): Remove special PUBKEY_USAGE_CERT flag. It's no longer needed.
This commit is contained in:
parent
26eeebf512
commit
aebd3a04f3
@ -1,3 +1,10 @@
|
|||||||
|
2005-12-18 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* gpg.c (main): Restore convert-sk-to-pk as programs rely on it.
|
||||||
|
|
||||||
|
* keyid.c (usagestr_from_pk): Remove special PUBKEY_USAGE_CERT
|
||||||
|
flag. It's no longer needed.
|
||||||
|
|
||||||
2005-12-14 David Shaw <dshaw@jabberwocky.com>
|
2005-12-14 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* gpg.c (main): Don't default to import-options convert-sk-to-pk.
|
* gpg.c (main): Don't default to import-options convert-sk-to-pk.
|
||||||
|
@ -1693,6 +1693,7 @@ main (int argc, char **argv )
|
|||||||
opt.pgp2_workarounds = 1;
|
opt.pgp2_workarounds = 1;
|
||||||
opt.force_v3_sigs = 1;
|
opt.force_v3_sigs = 1;
|
||||||
opt.escape_from = 1;
|
opt.escape_from = 1;
|
||||||
|
opt.import_options=IMPORT_SK2PK;
|
||||||
opt.export_options=EXPORT_ATTRIBUTES;
|
opt.export_options=EXPORT_ATTRIBUTES;
|
||||||
opt.keyserver_options.import_options=IMPORT_REPAIR_PKS_SUBKEY_BUG;
|
opt.keyserver_options.import_options=IMPORT_REPAIR_PKS_SUBKEY_BUG;
|
||||||
opt.keyserver_options.export_options=EXPORT_ATTRIBUTES;
|
opt.keyserver_options.export_options=EXPORT_ATTRIBUTES;
|
||||||
|
@ -545,11 +545,7 @@ usagestr_from_pk( PKT_public_key *pk )
|
|||||||
unsigned int use = pk->pubkey_usage;
|
unsigned int use = pk->pubkey_usage;
|
||||||
|
|
||||||
if ( use & PUBKEY_USAGE_SIG )
|
if ( use & PUBKEY_USAGE_SIG )
|
||||||
{
|
|
||||||
if (pk->is_primary)
|
|
||||||
use|=PUBKEY_USAGE_CERT;
|
|
||||||
buffer[i++] = 'S';
|
buffer[i++] = 'S';
|
||||||
}
|
|
||||||
|
|
||||||
if ( use & PUBKEY_USAGE_CERT )
|
if ( use & PUBKEY_USAGE_CERT )
|
||||||
buffer[i++] = 'C';
|
buffer[i++] = 'C';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user