Skip to content

Commit 7cf95f4

Browse files
committed
Added a bit about PKCS#8
1 parent 71eebb1 commit 7cf95f4

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

doc/compatibility.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,14 @@ Encryption and decryption is also compatible::
4949
$ openssl rsautl -in testfile.rsa -inkey privatekey.pem -decrypt
5050
hello there
5151

52+
Interoperability with PKCS#8
53+
--------------------------------------------------
54+
55+
The standard PKCS#8 is widely used, and more complex than the PKCS#1
56+
v1.5 supported by Python-RSA. In order to extract a key from the
57+
PKCS#8 format you need an external tool such as OpenSSL::
58+
59+
openssl rsa -in privatekey-pkcs8.pem -out privatekey.pem
60+
61+
You can then extract the corresponding public key as described above.
62+

0 commit comments

Comments
 (0)