I know this is somewhat counterintuitive, but: Does anyone know of any place where I might get intermediate values from PGP when it decrypts the secret values of the Secret Key packets and shows explicitly any special parsing needed to be done on the bytes?
Im looking for something like:
Given some example private key block and its password:
- the encrypted secret value is _
- the password is transformed into __ using the string to key algorithm
- the internal values in the CFB decryption using key and encrypted data are __ , _, and ___
I have read through RFC 4880, but since there are no examples of actual encryptions/decryptions in the RFC, I cannot be sure if my code is correct. I have looked through some of gpg, but its code is filled with so many
gmd_s and other variables that all look the same and I get extremely confused, adding to the problem of me not always knowing where to look.