Add key to card without substituting stubs for actual private key?

Andrew Gallagher andrewg at andrewg.com
Fri Dec 4 20:55:04 CET 2020


> On 4 Dec 2020, at 19:27, Pete Stephenson via Gnupg-users <gnupg-users at gnupg.org> wrote:
> 
> Question:
> Is it possible to transfer an existing private key from a computer to a smartcard without replacing the private key on the computer with a stub pointing to the card?

Yes, after you invoke the keytocard command(s) you have a choice to quit or save. If you save, you write the stubs to disk and overwrite the real key material. If you quit without saving, no disk write is performed, but your keys are already on the card so now you have both a card and a disk copy. 

Andrew. 


More information about the Gnupg-users mailing list