blob: 02577ab4343be7808dd6f58d5ed95db19c2be1cf [file] [log] [blame]
Sybren A. Stüvelae99db62011-07-30 23:13:04 +02001.. Python-RSA documentation master file, created by
2 sphinx-quickstart on Sat Jul 30 23:11:07 2011.
3 You can adapt this file completely to your liking, but it should at least
4 contain the root `toctree` directive.
5
6Welcome to Python-RSA's documentation!
7======================================
8
Sybren A. Stüvelaa28c042011-07-30 23:48:00 +02009Python-RSA is a pure-Python RSA implementation. It supports
10encryption and decryption, signing and verifying signatures, and key
11generation according to PKCS#1 version 1.5.
12
Sybren A. Stüvela3fd61a2011-07-31 00:22:31 +020013
14Security notice
15--------------------------------------------------
16
17This RSA implementation has seen the eyes of a security expert, and it
18uses an industry standard random padding method. However, there are
19still possible vectors of attack. Just to name one example, it doesn't
20compress the input stream to remove repetitions, and if you display
Sybren A. Stüvelc1c455d2011-08-01 23:04:30 +020021the stack trace of a :py:class:`rsa.pkcs1.CryptoError` exception
22you'll leak information about the reason why decryption or
23verification failed.
24
25I'm sure that those aren't the only insecurities. Use your own
26judgement to decide whether this module is secure enough for your
27application.
Sybren A. Stüvela3fd61a2011-07-31 00:22:31 +020028
29If you have the time and skill to improve the implementation, by all
30means be my guest. The best way is to clone the Mercurial repository
31and send me a merge request when you've got something worth merging.
32
33
34Contents
35--------------------------------------------------
Sybren A. Stüvelae99db62011-07-30 23:13:04 +020036
37.. toctree::
Sybren A. Stüvela3fd61a2011-07-31 00:22:31 +020038 :maxdepth: 2
Sybren A. Stüveldbea2132011-08-03 13:31:57 +020039 :numbered:
Sybren A. Stüvelae99db62011-07-30 23:13:04 +020040
Sybren A. Stüvela3fd61a2011-07-31 00:22:31 +020041 intro
42 installation
Sybren A. Stüveldbea2132011-08-03 13:31:57 +020043 upgrading
Sybren A. Stüvela3fd61a2011-07-31 00:22:31 +020044 licence
45 usage
Sybren A. Stüvel8d8cc312011-07-31 23:03:23 +020046 cli
Sybren A. Stüvela3fd61a2011-07-31 00:22:31 +020047 compatibility
Sybren A. Stüveld92b6672011-07-31 17:44:44 +020048 reference
Sybren A. Stüvelaa28c042011-07-30 23:48:00 +020049
50
Sybren A. Stüvelae99db62011-07-30 23:13:04 +020051* :ref:`genindex`