summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. St?vel <sybren@stuvel.eu>2014-02-22 11:21:45 +0100
committerSybren A. St?vel <sybren@stuvel.eu>2014-02-22 11:21:45 +0100
commit84a7d153ff2dfd702acd5f46729124388ed79251 (patch)
treed2e0b38177189c72b48fbf7563381a02f6e2bfb4
parente8220263a1e398c2751347702cece56468764773 (diff)
downloadrsa-84a7d153ff2dfd702acd5f46729124388ed79251.tar.gz
Added a bit about PKCS#8
-rw-r--r--doc/compatibility.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/compatibility.rst b/doc/compatibility.rst
index 7d8b10f..e6b59a3 100644
--- a/doc/compatibility.rst
+++ b/doc/compatibility.rst
@@ -49,3 +49,14 @@ Encryption and decryption is also compatible::
$ openssl rsautl -in testfile.rsa -inkey privatekey.pem -decrypt
hello there
+Interoperability with PKCS#8
+--------------------------------------------------
+
+The standard PKCS#8 is widely used, and more complex than the PKCS#1
+v1.5 supported by Python-RSA. In order to extract a key from the
+PKCS#8 format you need an external tool such as OpenSSL::
+
+ openssl rsa -in privatekey-pkcs8.pem -out privatekey.pem
+
+You can then extract the corresponding public key as described above.
+