1 Dec 2000 20:04
Re: Encoding of hash in El-Gamal signatures
Michael Young <mwy-opgp97 <at> the-youngs.org>
2000-12-01 19:04:19 GMT
2000-12-01 19:04:19 GMT
The specification already mentions precautions in ElGamal signature handling, and provides a reference. The original question is still valid, though, and I'd also be interested in seeing clarification. If the specification includes ElGamal signatures, it should provide sufficient definition to achieve interoperability. For other algorithms, there is a discussion of how the hash is padded (where applicable) and what the algorithm-specific fields in the signature should be. One might guess that the same PKCS-1 padding scheme should be used, and that the MPIs should be the "r" (=g^k mod p) and "s" (=(h-r*x)/k mod p) values, in that order. Is that right? Yes, I could use the GnuPG source as the specification, but that shouldn't be necessary. If you want to argue that OpenPGP shouldn't support this algorithm, and that it should be removed from the specification entirely, I wouldn't object.
>> The question is, how do openPGP clients cope with such messages and what
>
>It is a matter of the MUA to handle this right. Mutt for example
>does remove the dash escaping even when it does not verify the
>signature.
RSS Feed