On Saturday 06 of October 2012 16:22:20 Melvin Carvalho wrote: > On 6 October 2012 16:15, Hauke Laging <[email protected]> wrote: > > 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: > > https://gist.github.com/1505613 > > 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 > know.
There is some support for PGP in Bouncy Castle, so if is possible you should look at their API. Regards, -- Hubert Kario QBS - Quality Business Software 02-656 Warszawa, ul. Ksawerów 30/85 tel. +48 (22) 646-61-51, 646-74-24 www.qbs.com.pl _______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
