I'm confused:
1) It's supposed to be impossible to have a copy of the private key generated by:
Code:
gpg --card-edit
admin
generate
//snip
pub 2048R/AE297E58 2015-04-20 [expires: 2015-04-21]
Key fingerprint = 9F4D 0F9D 320D 4669 2C0D AE9D 3637 81ED AE29 7E58
uid [ultimate] Sebastian 1 day <rbondi@gmail.com>
sub 2048R/7C083E6A 2015-04-20 [expires: 2015-04-21]
sub 2048R/6554AE65 2015-04-20 [expires: 2015-04-21]
2) But that process prompts me to "Make off-card backup of key?", and when I do, I'm able to reimport the key.
It saved /foo/bla/.gnupg/sk_5E6E7ECD6554AE65.gpg. But I was able to import a totally different backup:
Code:
gpg --edit-key AE297E58
toggle
bkuptocard /foo/bla/totallydifferentbackup.gpg
Signature key ....: 9F4D 0F9D 320D 4669 2C0D AE9D 3637 81ED AE29 7E58
Encryption key....: 82B9 E8D1 7AA3 27ED CA0D 0A24 5E6E 7ECD 6554 AE65
Authentication key: 1494 7371 D85C EE5E 3A6B 3C11 82BF 0E60 7C08 3E6A
Please select where to store the key:
(1) Signature key
(2) Encryption key
(3) Authentication key
Your selection? 2
//snip
So.... it is possible to have a copy of the generated keys? Or not?
TMIA, /rb.