annando / salmon-protocol

Automatically exported from code.google.com/p/salmon-protocol
0 stars 0 forks source link

RSA PKCS algorithm summary is misleading #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the magic signature spec, the final step of the signing algorithm 
description is misleading at best:

 6. RSA sign the emsa byte sequence

This should read something like "encrypt the emsa byte sequence with the RSA 
private key; the resulting byte sequence is the magic signature in binary form".

(Some libraries call this "sign()" and others call something else "sign()" so 
it's much much better to be explicit here.)

Original issue reported on code.google.com by jpanzer@google.com on 4 Aug 2011 at 12:47