possible to encrypt message from pubkey gotten from ssl cert?
Werner Koch
wk at gnupg.org
Tue May 24 10:38:12 CEST 2005
On Sun, 22 May 2005 15:07:57 -0700, Alex Liberman said:
> is it possible to extract public key from ssl cert (actually have
> already got that far), and then use gpg to encrypt message using
> that public key? THx
Yes. It is whoever some work. With the integration of ssh keys,
X.509 certs and smartcards in the GnuPG 1.9 CVS, most code snippets
should be available. However they are not connected in a way to allow
what you want to do. BTW, Hal Finney posted a description on how PGP
Corp. does this to the OpenPGP WG (ietf-openpgp at imc.org) on
2005-04-12.
My plans actually head into the other direction: Take an OpenPGP key
and create an X.509 certificate from it. This is easier because
OpenPGP has that feature of subkeys and thus it is better suited to
act as a general type of key repository.
Salam-Shalom,
Werner
More information about the Gnupg-users
mailing list