mozilla/PyBrowserID — pull request #14 by rfk (2012-07-31 11:05:43+00:00)
Title: Fix pure-python RSA implementation

The current pure-python implementation of RSA signatures is incorrect. It uses the wrong size for padding out the message digest and is compatible with M2Crypto and with the node-js verifier.

This commit fixes the incompatibility, and introduces a bunch of tests to cross-verify the pure-python Key classes against their M2Crypto equivalents.