Lines Matching +full:- +full:- +full:with +full:- +full:openssl
1 Compatibility with standards
4 .. index:: OpenSSL
7 Python-RSA implements encryption and signatures according to PKCS#1
8 version 1.5. This makes it compatible with the OpenSSL RSA module.
11 keys are compatible with OpenSSL. However, OpenSSL uses X.509 for its
15 PKCS#1 v1.5 with at least 8 bytes of random padding
19 MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-384, SHA3-512
28 Deprecated in Python-RSA 3.4 and removed from Python-RSA 4.0.
29 Was Python-RSA only, not compatible with any other known application.
33 Interoperability with OpenSSL
34 -----------------------------
36 You can create a 512-bit RSA key in OpenSSL as follows::
38 openssl genrsa -out myprivatekey.pem 512
40 To get a Python-RSA-compatible public key from OpenSSL, you need the
41 private key first, then run it through the ``pyrsa-priv2pub``
44 pyrsa-priv2pub -i myprivatekey.pem -o mypublickey.pem
49 $ pyrsa-encrypt -i testfile.txt -o testfile.rsa publickey.pem
50 $ openssl rsautl -in testfile.rsa -inkey privatekey.pem -decrypt
53 Interoperability with PKCS#8
54 ----------------------------
57 v1.5 supported by Python-RSA. In order to extract a key from the
58 PKCS#8 format you need an external tool such as OpenSSL::
60 openssl rsa -in privatekey-pkcs8.pem -out privatekey.pem