[guardian-dev] Format of exported subkeys from gnupg

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Aug 3 18:34:15 CEST 2012


On 08/03/2012 12:19 PM, Abel Luck wrote:
> 1. Implement all possible ciphers in my library, ask the user for their
> key and decrypt

please don't re-implement the ciphers.  there are plenty of libraries
that do that for you :)  If you're using C, libgcrypt and libnettle are
both good options.

> 2. Only support plaintext exported keys, decryption is handled by GnuPG
> during export.

this is simpler, true. :)

> Thus the question is: how can I --export-secret-subkeys with
> unprotected/plaintext secret key values?

i think you want something like:

 --export-options export-reset-subkey-passwd,export-minimal

hth,

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1030 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20120803/4cb33735/attachment.pgp>


More information about the Gnupg-devel mailing list