digitalbazaar/forge — pull request #8 by stesie (2012-07-19 23:26:40+00:00)
Title: RSASSA-PSS + MGF1 + some fixes

hi again,

yet another pull request :-) I've added support for RSASSA-PSS signatures on X.509 certificates as per RFC 3447 and RFC 4055, aka PKCS#1 v2.1. The old padding scheme from PKCS#1 v1.5 is of course still supported (and the default if not specified otherwise). For this to work I've implemented MGF1 as per RFC 3447.

minor changes besides that:
* added sha256WithRSAEncryption signature verification on X.509 certificates
* fixed RSA encryption for key sizes not dividable by eight
* PKCS#12 bag attribute support, including lookup functions
* some more nodeunit tests on PKI & RSA module

cheers,
stesie