pycryptodome
pycryptodome copied to clipboard
Allow RSA key import without consistency checks
It adds a consistency_check
argument to PublicKey.RSA.import_key
defaulting to True
so it doesn't change the default behavior.
I'm not completely happy with the way internal parsers which don't need the passphrase
argument deal with it. I gave it a default value so it can pass the test but I'd be happy to change that if you have any suggestion !
I pushed some changes, let me know what you think!