mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* getkey.c (get_pubkey_direct): Renamed to...
(get_pubkey_fast): this and made extern. (get_pubkey_byfprint_fast): New. * import.c (import_one): Use get_pubkey_fast instead of get_pubkey. We don't need a merged key and actually this might lead to recursions. --> There is still a problem, though. (revocation_present): Likewise for search by fingerprint. * g10.c (main): Try to create the trustdb even for non-colon-mode list-key operations. This is required because getkey needs to know whether a a key is ultimately trusted.
This commit is contained in:
parent
4be5257f2c
commit
321b88d0f6
5 changed files with 85 additions and 27 deletions
|
@ -1983,13 +1983,6 @@ main( int argc, char **argv )
|
|||
case aEnArmor:
|
||||
case aFixTrustDB:
|
||||
break;
|
||||
case aKMode:
|
||||
case aListKeys:
|
||||
case aListSecretKeys:
|
||||
case aCheckKeys:
|
||||
if( opt.with_colons ) /* need this to list the trust */
|
||||
rc = setup_trustdb(1, trustdb_name );
|
||||
break;
|
||||
case aExportOwnerTrust: rc = setup_trustdb( 0, trustdb_name ); break;
|
||||
case aListTrustDB: rc = setup_trustdb( argc? 1:0, trustdb_name ); break;
|
||||
default: rc = setup_trustdb(1, trustdb_name ); break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue