Hi, I'll answer from this email instead. I was referring to Symmetric-Key Encrypted Session Key Packets (Tag 3) defined in section 5.3. By looking at the source ( openpgp_packet_encryptedsessionkey) I can see a function read packages of this type, but unfortunately no method to create them. We use these in a project where we use a password from where the session key is derived. We are currently using Java BouncyCastle to accomplish this but would like to move over to JS instead.
Regards Erik On Tue, Jul 3, 2012 at 4:17 AM, Carsten Wentzlow <[email protected]>wrote: > Hi! > ~~~ > > On 07/02/2012 05:52 PM, Erik Larsson wrote: > > Hi, > > > > I've been looking in to this library for a while, to be used in a > project of my own. I can see that it's currently possible to read packages > of type 3. Is there any time frame for when creating type 3 packages will > be supported? > > > > I think what you mean is "Version 3" packets. Could you please be more > specific in which cases you need to generate V3 packets? > > This implementation is following RFC4880 which defines Version 3 in > several cases as obsolete. openpgp.js is not compatible with RFC2440. If > you feel a need for this compatibility please go ahead and implement this > functionality. > > Signature packets: > "Implementations SHOULD accept V3 signatures. Implementations SHOULD > generate V4 signatures. > > Note that if an implementation is creating an encrypted and signed message > that is encrypted to a V3 key, it is reasonable to create a V3 signature." > > We currently are not creating V4 and not V3 signatures for these keys. > > Public Key Packets: > "OpenPGP implementations MUST create keys with version 4 format. V3 keys > are deprecated; an implementation MUST NOT generate a V3 key, but MAY > accept it." > > best regards, > carsten > > -- > > Recurity Labs GmbH | Carsten Wentzlow > http://www.recurity-labs.com | [email protected] > Wrangelstrasse 4 | Fon: +49 30 69539993-0 > 10997 Berlin | Mobil: +49 163 7007430 > Germany | PGP: AF3F 4C6C F80A 7C76 7DDE > | 39BF 83DD 3803 E163 4F45 > HRB 105213 B, Amtsgericht Charlottenburg, GF Felix Lindner > > > > _______________________________________________ > > http://openpgpjs.org > -- *Erik Larsson* Gotham Digital Science 125 Maiden Lane Third Floor – New York, NY 10038 [Office] 212.514.8318 [Mobile] 917.562.6575 [Fax] 646.349.3911 [Blog] http://www.gdssecurity.com/l/b/ <http://www.gdssecurity.com/l/b/> *This message is private and confidential. If you have received this message in error, please notify us and remove it from your system.* -- ------------------------------ This message is private and confidential. If you have received this message in error, please notify us and remove it from your system.
_______________________________________________ http://openpgpjs.org

