summaryrefslogtreecommitdiff
path: root/rsa
Commit message (Collapse)AuthorAgeFilesLines
* Bumped to version 3.4Sybren A. Stüvel2016-03-171-2/+2
|
* Allow loading PEM from strings (not just bytes), closes issue #49Sybren A. Stüvel2016-03-171-0/+4
|
* Remove list comprehension used for method executionadamantike2016-03-171-2/+6
|
* Prevent possible infinite loops.Sybren A. Stüvel2016-03-171-3/+8
|
* Remove Solovay-Strassen implementationadamantike2016-03-171-63/+0
|
* Use Miller-Rabin primality testingadamantike2016-03-171-1/+70
|
* Use specific function for odd integer generationadamantike2016-03-173-8/+15
|
* Correct doctest returns for 'are_relatively_prime'adamantike2016-02-051-2/+2
|
* Remove unneeded conditional on Jacobi functionadamantike2016-02-051-2/+0
|
* Bumped version to 3.4-beta1Sybren A. Stüvel2016-02-051-1/+1
|
* Updated documentation, mostly http -> https changesSybren A. Stüvel2016-02-0518-19/+19
| | | | | | Also: - changed http to https in the code - changed header underlines in the documentation to match the header length
* Fixed PEP8 style issuesSybren A. Stüvel2016-01-273-11/+15
|
* Fix #18: Add an 'exponent' argument to key.newkeys()Sybren A. Stüvel2016-01-271-15/+41
| | | | | | | | Adds the possibility to create a new key using a custom exponent. Mostly for compatibility. Also removed the unused parameter nbits from calculate_keys(). I added a new function calculate_keys_custom_exponent() so that people still passing a value to nbits don't accidentally use it as the exponent.
* Removed some compatibility code for Python 2.6Sybren A. Stüvel2016-01-271-8/+1
|
* Removed unused importSybren A. Stüvel2016-01-271-1/+1
|
* Simplified test structure a bit, so we no longer need to set PYTHONPATHSybren A. Stüvel2016-01-271-2/+0
| | | | | The u'' string prefix was reintroduced in Python 3.3, and since we've dropped py3.2 support we can avoid the whole py{2k,3k}constants.py mess.
* Removed code duplicationSybren A. Stüvel2016-01-271-11/+13
|
* Fixed bug where PrivateKey.exp2 wasn't correctly processed in the constructor.Sybren A. Stüvel2016-01-271-5/+5
| | | | | If exp1 was not given and exp2 was, it would still recompute exp2 instead of using the passed value.
* Deprecated old modules, and slated them for removal in 4.0Sybren A. Stüvel2016-01-272-8/+13
|
* Perform a late import of rsa.varblock to prevent DeprecationWarningsSybren A. Stüvel2016-01-251-1/+4
|
* Fix #12 Allow pickling of keys.Sybren A. Stüvel2016-01-221-0/+24
| | | | | Pickling is now possible, with the added note that one should never unpickle from an untrusted or unauthenticated source.
* Removed doctest for blinding, as it is not suitable as an example for end users.Sybren A. Stüvel2016-01-221-8/+0
|
* Another pass at blinding.Sybren A. Stüvel2016-01-222-19/+20
|
* Use random number when blinding, and also blind when verifying signatures.Sybren A. Stüvel2016-01-222-45/+75
|
* Fixed some docstrings to use Sphinx-compatible notationSybren A. Stüvel2016-01-223-25/+26
|
* Fix #13: Deprecated the VARBLOCK format and rsa.bigfile moduleSybren A. Stüvel2016-01-222-0/+71
| | | | | This deprecation is due to security issues; see https://github.com/sybrenstuvel/python-rsa/issues/13 for more information.
* Fix #19: Implemented blinding when decrypting.Sybren A. Stüvel2016-01-222-2/+44
| | | | | This prevents side-channel (such as timing) attacks, see: https://en.wikipedia.org/wiki/Blinding_%28cryptography%29
* Removed obsolete remark from docstring, fixes #14Sybren A. Stüvel2016-01-221-3/+0
|
* Updated doctests to Python 3.5 and automatically running with Tox.Sybren A. Stüvel2016-01-224-76/+18
| | | | | I've also removed doctests from the obsolete rsa/_versionXXX.py files, as those files aren't even compatible with Python 3.x anyway.
* Fix #30, removed use of deprecated `base64.decodestring` from docstringsSybren A. Stüvel2016-01-221-2/+2
|
* Using r""" for some docstringsSybren A. Stüvel2016-01-223-6/+6
|
* Big refactor to become more PEP8 compliant.Sybren A. Stüvel2016-01-2216-413/+429
| | | | | Mostly focused on docstrings (''' → """), indentation, empty lines, and superfluous parenthesis.
* Fix #27: Close Pipes at parallel version of genprime.Sybren A. Stüvel2016-01-221-5/+9
| | | | Now closing pipes after reading result, and added a unittest.
* Primes regeneration in RSA keys generationMichael Manganiello2016-01-211-3/+11
|
* Corrected accurate mode of 'newkeys' functionMichael Manganiello2016-01-211-2/+4
|
* Simplified calculation of GCDMichael Manganiello2016-01-211-3/+3
|
* No longer using obsolete base64 interface, fixes bug #30Sybren A. Stüvel2016-01-211-2/+2
|
* Bumped version to 3.3version-3.3Sybren A. Stüvel2016-01-211-2/+2
|
* Fix FTBFS import errorFabio Alessandro Locati2016-01-211-1/+5
|
* Fix BB'06 attack in verify() by switching from parsing to comparisonFilippo Valsorda2015-12-161-38/+20
|
* Bumped version to 3.2.3version-3.2.3Sybren A. Stüvel2015-11-051-1/+1
|
* Added character encoding markers for Python 2.xSybren A. Stüvel2015-11-053-0/+3
|
* Bumped version to 3.2.2 due to an issue with pypiversion-3.2.2Sybren A. Stüvel2015-11-051-1/+1
|
* Bumped version to 3.2.1version-3.2.1Sybren A. Stüvel2015-11-051-2/+2
|
* Added per-file licensesRoy Kokkelkoren2015-10-253-0/+45
|
* Bumped version to 3.2version-3.2Sybren A. Stüvel2015-07-291-2/+2
|
* Bumped version to 3.1.4version-3.1.4Sybren A. Stüvel2014-02-221-2/+2
|
* Fixed typo in pyrsa-verify help messageSybren A. Stüvel2014-02-221-1/+1
|
* Fixed compatibilty of pyrsa-priv2pub with Python 3Sybren A. Stüvel2014-02-221-13/+15
|
* Bumped version to 3.1.3version-3.1.3Sybren A. Stüvel2014-02-021-2/+2
|