Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: devel

Format of exported subkeys from gnupg

 

 

GnuPG devel RSS feed   Index | Next | Previous | View Threaded


abel at guardianproject

Jul 20, 2012, 3:09 PM

Post #1 of 2 (88 views)
Permalink
Format of exported subkeys from gnupg

Hello,

I'm with the Guardian Project, picking up where Hans left off last year
[0] in an attempt to integrate OTR keys as subkeys in gnupg.

Guardian is working on a OTR key conversion utility [1] to convert
between the myriad formats of OTR keys (all DSA btw).

In order to do this I need access to the raw DSA parameters: p, q, g, y
and x.

My question is how can I take the output produced by
--export-secret-keys and access those 5 numbers?

Inversely, how can I take 5 numbers and produce an importable file to
import OTR subkeys into a master key?

I've been poking around in g10/export.c in gnupg2, and see that it is
using s-expressions internally. It looks like I might need to roll my
owner parser and writer, is there any documentation on this format?

Alternatively, if I could mangle the exported data into an openssl
format, I could use existing openssl tools to pull out the data I need.

gpgsm exports p12, but I can't see how to make it work with gpg subkeys.

Any advice in this area would be much appreciated.

~abel


[0]: http://lists.gnupg.org/pipermail/gnupg-devel/2011-November/026294.html
[1]: https://github.com/guardianproject/otrfileconverter
Attachments: signature.asc (0.62 KB)


abel at guardianproject

Jul 20, 2012, 3:41 PM

Post #2 of 2 (86 views)
Permalink
Re: Format of exported subkeys from gnupg [In reply to]

Some of you got this message twice, I apologize. My email server didn't
have reverse DNS setup properly.

~abel
Attachments: signature.asc (0.62 KB)

GnuPG devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.