Re: Multiple Sym. Encrypted Packets

2006-11-07 Thread Werner Koch
On Tue, 7 Nov 2006 15:50, [EMAIL PROTECTED] said: > This doesn't: > [PKESK][SED][PKESK][SED] (fails reading the second PKESK) Right. This is because the sematics of two concatenated OpenPGP messages are not well defined. > This will read the two PKESK packets and the first SED but not the final

Re: Multiple Sym. Encrypted Packets

2006-11-07 Thread Peter S. May
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 My thinking is that this isn't so much a problem with packet formats as general syntax. It sounds like you're trying to put two distinct OpenPGP messages into the same file. The section "OpenPGP Messages" (10.3 in RFC2440-bis-18) in the spec defines

Multiple Sym. Encrypted Packets

2006-11-07 Thread Emlyn Jones
Hello, I've written some code to generate an encrypted message which I can successfully decrypt using gpg. Currently the packet stream contains one Public-Key Encrypted Session Key Packet and one Symmetrically Encrypted Data Packet and works perfectly. However, I would like to set up the packet st