How do I import an X.509 Certificate onto an OpenPGP smartcard?

Werner Koch wk at gnupg.org
Tue Feb 15 10:29:10 CET 2011


On Sun, 13 Feb 2011 01:41, kgo at grant-olson.net said:

> Firstly, can I actually import a certificate like this onto the card?
> Or do I simply misunderstand the specs?

Yes.

> Secondly, is there a command somewhere in gpg/gpgsm/gpg* to do this, or
> is it specified and implemented on the OpenPGP card only at this point
> in time?

There are two hidden commands in the --card-edit sub-menu:

  readcert 3 >foo.crt

and obviously:

  writecert 3 <foo.crt


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list