Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bumped to version 3.4 | Sybren A. Stüvel | 2016-03-17 | 1 | -2/+2 |
| | |||||
* | Allow loading PEM from strings (not just bytes), closes issue #49 | Sybren A. Stüvel | 2016-03-17 | 1 | -0/+4 |
| | |||||
* | Remove list comprehension used for method execution | adamantike | 2016-03-17 | 1 | -2/+6 |
| | |||||
* | Prevent possible infinite loops. | Sybren A. Stüvel | 2016-03-17 | 1 | -3/+8 |
| | |||||
* | Remove Solovay-Strassen implementation | adamantike | 2016-03-17 | 1 | -63/+0 |
| | |||||
* | Use Miller-Rabin primality testing | adamantike | 2016-03-17 | 1 | -1/+70 |
| | |||||
* | Use specific function for odd integer generation | adamantike | 2016-03-17 | 3 | -8/+15 |
| | |||||
* | Correct doctest returns for 'are_relatively_prime' | adamantike | 2016-02-05 | 1 | -2/+2 |
| | |||||
* | Remove unneeded conditional on Jacobi function | adamantike | 2016-02-05 | 1 | -2/+0 |
| | |||||
* | Bumped version to 3.4-beta1 | Sybren A. Stüvel | 2016-02-05 | 1 | -1/+1 |
| | |||||
* | Updated documentation, mostly http -> https changes | Sybren A. Stüvel | 2016-02-05 | 18 | -19/+19 |
| | | | | | | Also: - changed http to https in the code - changed header underlines in the documentation to match the header length | ||||
* | Fixed PEP8 style issues | Sybren A. Stüvel | 2016-01-27 | 3 | -11/+15 |
| | |||||
* | Fix #18: Add an 'exponent' argument to key.newkeys() | Sybren A. Stüvel | 2016-01-27 | 1 | -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.6 | Sybren A. Stüvel | 2016-01-27 | 1 | -8/+1 |
| | |||||
* | Removed unused import | Sybren A. Stüvel | 2016-01-27 | 1 | -1/+1 |
| | |||||
* | Simplified test structure a bit, so we no longer need to set PYTHONPATH | Sybren A. Stüvel | 2016-01-27 | 1 | -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 duplication | Sybren A. Stüvel | 2016-01-27 | 1 | -11/+13 |
| | |||||
* | Fixed bug where PrivateKey.exp2 wasn't correctly processed in the constructor. | Sybren A. Stüvel | 2016-01-27 | 1 | -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.0 | Sybren A. Stüvel | 2016-01-27 | 2 | -8/+13 |
| | |||||
* | Perform a late import of rsa.varblock to prevent DeprecationWarnings | Sybren A. Stüvel | 2016-01-25 | 1 | -1/+4 |
| | |||||
* | Fix #12 Allow pickling of keys. | Sybren A. Stüvel | 2016-01-22 | 1 | -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üvel | 2016-01-22 | 1 | -8/+0 |
| | |||||
* | Another pass at blinding. | Sybren A. Stüvel | 2016-01-22 | 2 | -19/+20 |
| | |||||
* | Use random number when blinding, and also blind when verifying signatures. | Sybren A. Stüvel | 2016-01-22 | 2 | -45/+75 |
| | |||||
* | Fixed some docstrings to use Sphinx-compatible notation | Sybren A. Stüvel | 2016-01-22 | 3 | -25/+26 |
| | |||||
* | Fix #13: Deprecated the VARBLOCK format and rsa.bigfile module | Sybren A. Stüvel | 2016-01-22 | 2 | -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üvel | 2016-01-22 | 2 | -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 #14 | Sybren A. Stüvel | 2016-01-22 | 1 | -3/+0 |
| | |||||
* | Updated doctests to Python 3.5 and automatically running with Tox. | Sybren A. Stüvel | 2016-01-22 | 4 | -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 docstrings | Sybren A. Stüvel | 2016-01-22 | 1 | -2/+2 |
| | |||||
* | Using r""" for some docstrings | Sybren A. Stüvel | 2016-01-22 | 3 | -6/+6 |
| | |||||
* | Big refactor to become more PEP8 compliant. | Sybren A. Stüvel | 2016-01-22 | 16 | -413/+429 |
| | | | | | Mostly focused on docstrings (''' → """), indentation, empty lines, and superfluous parenthesis. | ||||
* | Fix #27: Close Pipes at parallel version of genprime. | Sybren A. Stüvel | 2016-01-22 | 1 | -5/+9 |
| | | | | Now closing pipes after reading result, and added a unittest. | ||||
* | Primes regeneration in RSA keys generation | Michael Manganiello | 2016-01-21 | 1 | -3/+11 |
| | |||||
* | Corrected accurate mode of 'newkeys' function | Michael Manganiello | 2016-01-21 | 1 | -2/+4 |
| | |||||
* | Simplified calculation of GCD | Michael Manganiello | 2016-01-21 | 1 | -3/+3 |
| | |||||
* | No longer using obsolete base64 interface, fixes bug #30 | Sybren A. Stüvel | 2016-01-21 | 1 | -2/+2 |
| | |||||
* | Bumped version to 3.3version-3.3 | Sybren A. Stüvel | 2016-01-21 | 1 | -2/+2 |
| | |||||
* | Fix FTBFS import error | Fabio Alessandro Locati | 2016-01-21 | 1 | -1/+5 |
| | |||||
* | Fix BB'06 attack in verify() by switching from parsing to comparison | Filippo Valsorda | 2015-12-16 | 1 | -38/+20 |
| | |||||
* | Bumped version to 3.2.3version-3.2.3 | Sybren A. Stüvel | 2015-11-05 | 1 | -1/+1 |
| | |||||
* | Added character encoding markers for Python 2.x | Sybren A. Stüvel | 2015-11-05 | 3 | -0/+3 |
| | |||||
* | Bumped version to 3.2.2 due to an issue with pypiversion-3.2.2 | Sybren A. Stüvel | 2015-11-05 | 1 | -1/+1 |
| | |||||
* | Bumped version to 3.2.1version-3.2.1 | Sybren A. Stüvel | 2015-11-05 | 1 | -2/+2 |
| | |||||
* | Added per-file licenses | Roy Kokkelkoren | 2015-10-25 | 3 | -0/+45 |
| | |||||
* | Bumped version to 3.2version-3.2 | Sybren A. Stüvel | 2015-07-29 | 1 | -2/+2 |
| | |||||
* | Bumped version to 3.1.4version-3.1.4 | Sybren A. Stüvel | 2014-02-22 | 1 | -2/+2 |
| | |||||
* | Fixed typo in pyrsa-verify help message | Sybren A. Stüvel | 2014-02-22 | 1 | -1/+1 |
| | |||||
* | Fixed compatibilty of pyrsa-priv2pub with Python 3 | Sybren A. Stüvel | 2014-02-22 | 1 | -13/+15 |
| | |||||
* | Bumped version to 3.1.3version-3.1.3 | Sybren A. Stüvel | 2014-02-02 | 1 | -2/+2 |
| |