OpenPGP smartcard restore

Tristan Williams home at tristanwilliams.com
Wed Jun 14 11:07:27 CEST 2006


On 13Jun06 16:49, David Shaw wrote:
> On Tue, Jun 13, 2006 at 09:17:39PM +0100, Tristan Williams wrote:
> 
> > It works as you suggested.
> > 
> > gpg is now happy with smartB (and longer asks  for smartA). The file  
> > I encrypted with the public key is decrypted correctly.
> > gpg now references smartB not smartA when listing keys.
> > 
> > So what is in sk_X.gpg if it is not a standalone importable secret key?
> 
> It is a standalone importable secret key, just as you thought.
> 
> David
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 

On closer inspection it appears that only the encryption key gets
transfered to the new card (smartB) using the above.  So I can decrypt
but not sign.

Tristan



More information about the Gnupg-users mailing list