mirror of
git://git.gnupg.org/gnupg.git
synced 2025-05-24 16:43:28 +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
@ -3071,7 +3071,7 @@ import_secret_one (ctrl_t ctrl, kbnode_t keyblock,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!uidnode)
|
if (pk->version < 5 && !uidnode)
|
||||||
{
|
{
|
||||||
if (!for_migration)
|
if (!for_migration)
|
||||||
log_error( _("key %s: no user ID\n"), keystr_from_pk (pk));
|
log_error( _("key %s: no user ID\n"), keystr_from_pk (pk));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user