Importing an off-card backup of the encryption key of a Nitrokey fails with "no user ID"

Ralf sourcelime at
Tue Oct 24 21:23:30 CEST 2017


I generated keys on a Nitrokey and have chosen the option to make an 
off-card backup of the encryption key:

gpg: NOTE: backup of card key saved to 

as described in:

Now I tried to use this backup key. So I imported the public keys, and 
when I try to import the secret key backup file, I get an error "no user 
ID" and the key isn't imported to the secret ring:

gpg2 --import sk_26D728A8F09033F1.gpg
gpg: key 26D728A8F09033F1: no user ID
gpg: Total number processed: 1
gpg:       secret keys read: 1

I only found a hint so far that the key can be uploaded to another card 
with the bkuptocard command 
but I had hoped that it is possible to use the backup key without a 
card. Any hints here, is this possible?



More information about the Gnupg-users mailing list