pycryptodome icon indicating copy to clipboard operation
pycryptodome copied to clipboard

Allow RSA key import without consistency checks

Open NathanReb opened this issue 8 years ago • 2 comments

It adds a consistency_check argument to PublicKey.RSA.import_key defaulting to True so it doesn't change the default behavior.

NathanReb avatar Sep 21 '16 09:09 NathanReb

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 !

NathanReb avatar Sep 23 '16 15:09 NathanReb

I pushed some changes, let me know what you think!

NathanReb avatar Sep 29 '16 18:09 NathanReb