mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Allow secret key import with no uidnode for v5 key.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
13e6ec6672
commit
d587002389
1 changed files with 1 additions and 1 deletions
|
@ -3071,7 +3071,7 @@ import_secret_one (ctrl_t ctrl, kbnode_t keyblock,
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (!uidnode)
|
||||
if (pk->version < 5 && !uidnode)
|
||||
{
|
||||
if (!for_migration)
|
||||
log_error( _("key %s: no user ID\n"), keystr_from_pk (pk));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue