Import .p12 key file

Werner Koch wk at gnupg.org
Wed Nov 10 19:29:51 CET 2010


On Wed, 10 Nov 2010 18:37, rjh at sixdemonbag.org said:

> Recent versions of GnuPG support S/MIME, which *may* use PKCS-12.  (I

Well for 7 years or so ;-)

> don't recall offhand for a fact: I just have a vague impression they
> do... or maybe it's PKCS-7 I'm thinking of.)

PKCS#12 is a bunch of convoluted binary data which is even by ASN.1
standards a nightmare to parse.  Despite that these blobs are used to
transfer private X.509 keys.  GPGSM (GPG's S/MIME cousin) supports it.

PKCS#7 (or in modern speak CMS) is the core of S/MIME but, as you
pointed out, it is not related to OpenPGP.  OpenPGP uses a well defined
and easy to parse format for key and data exchange and not any ASN.1 BER
and DER mess.


Salam-Shalom,

   Werner


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




More information about the Gnupg-users mailing list