diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2016-01-27 14:40:48 +0100 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2016-01-27 14:40:48 +0100 |
commit | 8085da52ed02a95f45d08cfdbf910d4af0d6bbf6 (patch) | |
tree | 083fc4c37796c1e57120e16808f4abddc492ad24 /doc | |
parent | 31a80121a554b566bb8b968ab954d1e48f64e165 (diff) | |
download | rsa-git-8085da52ed02a95f45d08cfdbf910d4af0d6bbf6.tar.gz |
Deprecated old modules, and slated them for removal in 4.0
Diffstat (limited to 'doc')
-rw-r--r-- | doc/upgrading.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/upgrading.rst b/doc/upgrading.rst index c8a2d82..c21fa4b 100644 --- a/doc/upgrading.rst +++ b/doc/upgrading.rst @@ -3,7 +3,7 @@ Upgrading from older versions Previous versions of Python-RSA were less secure than the current version. In order to be able to gradually upgrade your software, those -old versions are still available. +old versions will be available until Python-RSA 4.0. To use version 1.3.3, use this:: @@ -26,6 +26,12 @@ re-encrypt them:: Those import statements *will create warnings* as they import much less secure code into your project. +.. warning:: + + These modules are included to allow upgrading to the latest version + of Python-RSA, and not as a way to keep using those old versions. + They will be removed in version 4.0. + The random padding introduced in version 3.0 made things much more secure, but also requires a larger key to encrypt the same message. You can either generate a new key with :py:func:`rsa.newkeys`, or use |