Is it possible to construct a GPG Certificate from an existing RSA key pair
hka at qbs.com.pl
Sat Oct 6 17:52:46 CEST 2012
On Saturday 06 of October 2012 16:22:20 Melvin Carvalho wrote:
> On 6 October 2012 16:15, Hauke Laging <mailinglisten at hauke-laging.de>
> > Am Sa 06.10.2012, 15:53:25 schrieb Melvin Carvalho:
> > > Is it possible to construct a GPG 'Certificate' from an existing RSA
> > > key
> > > pair?
> > >
> > > I've got some 2048 RSA keys I'd like to reuse, is there any way I can
> > > use
> > > them to make everything I need for GPG?
> > How do you have these key pairs? Are they part of a GnuPG keyring? What
> > is missing?
> Long story but I have them in various forms
> - as an exponent / modulus
> - as PEM
> - as DER
> - as .p12
> - as id_rsa (ssh)
> I originally extracted the key pair from my GPG key->.p12 using some java
> code below:
> If there's any way it's theoretically possible to try and do the reverse
> and reconstruct some of the GPG from the .p12 I'd be very grateful to
There is some support for PGP in Bouncy Castle, so if is possible you should
look at their API.
QBS - Quality Business Software
02-656 Warszawa, ul. Ksawerów 30/85
tel. +48 (22) 646-61-51, 646-74-24
More information about the Gnupg-users