hopefully this is the right place to post this:
can someone tell me how pgp pub/private keys are formatted? there seems to be a lack of explainations on how to actually read them (and im terribly inept at reading source codes)
obviously they are in base 64. i mean beyond that. which part is the version number, the cipher, the username, email, etc? how big is each part?
hopefully, your responses can be something like:
"take this:
{
version (2 bytes, 00, 01, or 02)
cipher (0 = RSA, ...)
key size (x number of bytes)
modulus (n)
e
etc.
etc.
}
and combine it into one big string and change it to base64"
thanks in advance to all who answer