GPG Private Key Export Question
roam at ringlet.net
Fri Sep 27 16:40:10 CEST 2013
On Fri, Sep 27, 2013 at 05:33:59PM +0300, Peter Pentchev wrote:
> On Fri, Sep 27, 2013 at 09:58:35AM -0400, Paul Taukatch wrote:
> > Really appreciate the help and the quick response!
> > I just wanted to clarify, where exactly is the public key information
> > stored within the exported secret key data? Is it part of the Secret key
> > packet as part of the "Encrypted stuff follows section" or is following
> > that?
> It's part of the secret key packet. If you run gpg --list-packets with
> --debug=2 (or with --debug-all), so that it shows you the actual numeric
> data in the key representations, you'll see that skey and skey in
> the secret key packet are exactly the same as pkey and pkey shown
> when you --export | --list-packets (so GnuPG shows you the public key).
Also, if you're really writing software for parsing and extracting data
from OpenPGP keys or messages, then you absolutely *must* start by
reading RFC 4880, then reading it again, then bookmarking it and keeping
it always open in a browser window or a text pager, so you can refer to
it as often as you *will* need to :)
Peter Pentchev roam at ringlet.net roam at FreeBSD.org p.penchev at storpool.com
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13
I am the thought you are now thinking.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Gnupg-users