Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is Python support for PEM + RSA + DES3?

I need a Python library that supports PEM files and both RSA signing and DES3 encryption. pycrypto doesn't seem to support PEM, and its mechanism for loading existing keys is undocumented and cryptic. m2crypto doesn't seem to support DES/DES3, oddly.

I've been running an openssl subprocess, but I'd rather have something built in and preferably fast. Does this exist?

(Failing that, I hesitate to ask, but are there high-level enough C apis available for this that I could write a special-purpose extension without killing myself/introducing vulns?)

like image 827
Jason S Avatar asked Dec 06 '25 06:12

Jason S


1 Answers

Check out the libraries mentioned in this overview: Comparison of Python cryptography modules

like image 60
ars Avatar answered Dec 08 '25 19:12

ars



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!