我有开放的PGP智能卡V2.1,在那里我有一个签名密钥,一个加密密钥和一个身份验证密钥存储。例如,签名密钥的最后8个数字是:12345678。现在,我想将这些密钥复制到我的Yubikey Neo作为备份用途。我试过这个:
gpg -a -o seckey.asc --export-secret-key 12456789gpg --edit-key 12456789 - here I get: "Secret key is available"和我的钥匙都列了出来gpg> keytocard Really move the primary key? (y/N) y Please select where to store the key: (1) Signature key (3) Authentication key Your selection? 1 gpg: KEYTOCARD failed: Unusable secret key发布于 2018-09-08 15:09:40
秘密密钥不能从OpenPGP智能卡导出--这正是它们背后的想法。如果您在计算机上创建密钥并将其导入智能卡,请使用备份将其复制到Yubikey。
否则,您将不得不创建一个新的密钥。请注意,Yubikey只是另一个OpenPGP智能卡,所以如果您直接在Yubikey上创建密钥,您将无法再次导出它。
https://security.stackexchange.com/questions/193300
复制相似问题