16 Sep 2003 06:18
Using IDEA in v3-v4 algorithm conflict
David Shaw <dshaw <at> jabberwocky.com>
2003-09-16 04:18:05 GMT
2003-09-16 04:18:05 GMT
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Section 12.1 of the draft says: An implementation that is striving for backward compatibility MAY consider a V3 key with a V3 self-signature to be an implicit preference for IDEA, and no ability to do TripleDES. This is technically non-compliant, but an implementation MAY violate the above rule in this case only and use IDEA to encrypt the message, provided that the message creator is warned. Ideally, though, the implementation would follow the rule by actually generating two messages, because it is possible that the OpenPGP user's implementation does not have IDEA, and thus could not read the message. Consequently, an implementation MAY, but SHOULD NOT use IDEA in an algorithm conflict with a V3 key. This is a problem since the method given (even though it is a SHOULD NOT) doesn't work terribly well in practice as PGP 2.x breaks when it sees *anything* it doesn't understand in a message. For example, the most common OpenPGP encryption (sub)key type is Elgamal. Trying to be backwards compatible by using IDEA in an algorithm conflict between a V3 key and an Elgamal subkey is pointless since PGP 2.x won't be able to handle the message anyway due to the use of Elgamal. Some experimentation shows that using IDEA when having a V3<=>V4 algorithm conflict only works if the V4 (sub)key is: a) RSA(Continue reading)
RSS Feed