YubiKey-Guide icon indicating copy to clipboard operation
YubiKey-Guide copied to clipboard

How to retrieve the public key from inside the yubikey?

Open lattice0 opened this issue 3 years ago • 3 comments

Suppose I changed computers and lost the public key file. How can I extract it from the yubikey?

lattice0 avatar May 12 '22 19:05 lattice0

You should be able to just to a regular gpg --export

Better still if you have the public key uploaded to a keyserver - set the card's URL to the url of the public key and to can do the following:

$ gpg --card-edit

gpg> fetch

Gpg will download the public key and add it to the key ring

iandstanley avatar Jun 02 '22 07:06 iandstanley

See issue #305 where somebody has cut and pasted the output

iandstanley avatar Jun 02 '22 07:06 iandstanley

Reconfigure you yubikey about the part of GPG, If you do not have any keyserver you was upload and any backup in sotre.

agent-kimbley avatar Aug 04 '22 13:08 agent-kimbley

Duping to other issue.

drduh avatar Aug 21 '22 18:08 drduh