Re: Gnupg file formats

2011-12-01 Thread Dan McGee
On Thu, Dec 1, 2011 at 11:25 AM, Werner Koch wrote: > On Thu,  1 Dec 2011 10:02, tosk...@gmail.com said: > >> ciphertext encrypted with a 1024 bit RSA key start \x848C03? Why is it >> \x85010C03 for 2048 bit RSA? Is this explained in the RFC somewhere >> I've missed or is it documented elsewhere?

Re: Gnupg file formats

2011-12-01 Thread Werner Koch
On Thu, 1 Dec 2011 10:02, tosk...@gmail.com said: > ciphertext encrypted with a 1024 bit RSA key start \x848C03? Why is it > \x85010C03 for 2048 bit RSA? Is this explained in the RFC somewhere > I've missed or is it documented elsewhere? Read section 4.2 of RFC-4880. The length header encoding

Gnupg file formats

2011-12-01 Thread Thomas Martin
Hello all, I'm interested in learning more about how cryptography is applied, and I'm trying to understand the file formats used by Gnupg. The RFC4880 has been a great help. In looking at an private key I can find the MPI's for the public and private parameters. In looking at a ciphertext, I can f