<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rsa-git.git/tests, branch version-4.6</title>
<subtitle>github.com: sybrenstuvel/python-rsa.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rsa-git.git/'/>
<entry>
<title>Limit SHA3 support to Python 3.6+</title>
<updated>2020-06-11T18:22:30+00:00</updated>
<author>
<name>Sybren A. Stüvel</name>
<email>sybren@stuvel.eu</email>
</author>
<published>2020-06-11T18:22:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rsa-git.git/commit/?id=9032802c2574bc4538f8f54843fd1996aaf396e4'/>
<id>9032802c2574bc4538f8f54843fd1996aaf396e4</id>
<content type='text'>
The third-party library that adds support for this to Python 3.5 is a
binary package, and thus breaks the pure-Python nature of Python-RSA.

This should fix [#147](https://github.com/sybrenstuvel/python-rsa/issues/147).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The third-party library that adds support for this to Python 3.5 is a
binary package, and thus breaks the pure-Python nature of Python-RSA.

This should fix [#147](https://github.com/sybrenstuvel/python-rsa/issues/147).
</pre>
</div>
</content>
</entry>
<entry>
<title>Compatibility with newer MyPy versions</title>
<updated>2020-06-11T16:36:20+00:00</updated>
<author>
<name>Sybren A. Stüvel</name>
<email>sybren@stuvel.eu</email>
</author>
<published>2020-06-11T16:36:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rsa-git.git/commit/?id=5c7696dd8a53b91b81346b1b04af8ef8e550707d'/>
<id>5c7696dd8a53b91b81346b1b04af8ef8e550707d</id>
<content type='text'>
The newer versions always have a message, even on success.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The newer versions always have a message, even on success.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CVE-2020-13757: detect cyphertext modifications by prepending zero bytes</title>
<updated>2020-06-03T12:57:17+00:00</updated>
<author>
<name>Sybren A. Stüvel</name>
<email>sybren@stuvel.eu</email>
</author>
<published>2020-06-03T12:39:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rsa-git.git/commit/?id=93af6f2f89a9bf28361e67716c4240e691520f30'/>
<id>93af6f2f89a9bf28361e67716c4240e691520f30</id>
<content type='text'>
Reject cyphertexts that have been modified by prepending zero bytes, by
checking the cyphertext length against the expected size (given the
decryption key). This resolves CVE-2020-13757.

The same approach is used when verifying a signature.

Thanks Carnil for pointing this out on https://github.com/sybrenstuvel/python-rsa/issues/146
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reject cyphertexts that have been modified by prepending zero bytes, by
checking the cyphertext length against the expected size (given the
decryption key). This resolves CVE-2020-13757.

The same approach is used when verifying a signature.

Thanks Carnil for pointing this out on https://github.com/sybrenstuvel/python-rsa/issues/146
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop character encoding markers for Python 2.x</title>
<updated>2020-06-03T11:15:34+00:00</updated>
<author>
<name>Andrey Semakin</name>
<email>and-semakin@ya.ru</email>
</author>
<published>2019-11-07T06:29:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rsa-git.git/commit/?id=1473cb8599c44cffad56cecbe32c467d64f00247'/>
<id>1473cb8599c44cffad56cecbe32c467d64f00247</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for SHA3 hashing</title>
<updated>2019-08-04T15:47:26+00:00</updated>
<author>
<name>Sybren A. Stüvel</name>
<email>sybren@stuvel.eu</email>
</author>
<published>2019-08-04T15:43:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rsa-git.git/commit/?id=3c5ee594a2e38b27f086d042d9d2b9d7d0d0269d'/>
<id>3c5ee594a2e38b27f086d042d9d2b9d7d0d0269d</id>
<content type='text'>
This is based on https://github.com/sybrenstuvel/python-rsa/pull/96, with
a few improvements:
  - The minimum of one use of SHA3 in a unit test, to at least touch it at
    some point.
  - Documented the support of SHA3.
  - Only install the third-party library required by Python 3.5 when we're
    running on Python 3.5. Newer Python versions support SHA3 natively.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is based on https://github.com/sybrenstuvel/python-rsa/pull/96, with
a few improvements:
  - The minimum of one use of SHA3 in a unit test, to at least touch it at
    some point.
  - Documented the support of SHA3.
  - Only install the third-party library required by Python 3.5 when we're
    running on Python 3.5. Newer Python versions support SHA3 natively.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added mypy for static type checking</title>
<updated>2019-08-04T15:05:58+00:00</updated>
<author>
<name>Sybren A. Stüvel</name>
<email>sybren@stuvel.eu</email>
</author>
<published>2019-08-04T13:47:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rsa-git.git/commit/?id=6760eb76e665dc81863a82110164c4b3b38e7ee9'/>
<id>6760eb76e665dc81863a82110164c4b3b38e7ee9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed compatibility code for Python 2.7 and 3.4</title>
<updated>2019-08-04T15:05:58+00:00</updated>
<author>
<name>Sybren A. Stüvel</name>
<email>sybren@stuvel.eu</email>
</author>
<published>2019-08-04T13:02:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rsa-git.git/commit/?id=ded036cf988b0cf4b20002d88434282f30762638'/>
<id>ded036cf988b0cf4b20002d88434282f30762638</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix BytesWarning in tests</title>
<updated>2018-10-23T21:13:20+00:00</updated>
<author>
<name>Jon Dufresne</name>
<email>jon.dufresne@gmail.com</email>
</author>
<published>2018-10-10T12:48:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rsa-git.git/commit/?id=7424c69bde598a145b7d3807e6c367ac4b922bff'/>
<id>7424c69bde598a145b7d3807e6c367ac4b922bff</id>
<content type='text'>
Shouldn't try to coerce bytes to a string. Instead, print the repr
value (e.g. b'mybytestring').

When running tests with the Python `-b` option, fixes warnings of the
form:

.../python-rsa/tests/test_strings.py:34: BytesWarning: str() on a bytes instance
  print("\tMessage:   %s" % message)
.../python-rsa/tests/test_strings.py:37: BytesWarning: str() on a bytes instance
  print("\tEncrypted: %s" % encrypted)
.../python-rsa/tests/test_strings.py:40: BytesWarning: str() on a bytes instance
  print("\tDecrypted: %s" % decrypted)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Shouldn't try to coerce bytes to a string. Instead, print the repr
value (e.g. b'mybytestring').

When running tests with the Python `-b` option, fixes warnings of the
form:

.../python-rsa/tests/test_strings.py:34: BytesWarning: str() on a bytes instance
  print("\tMessage:   %s" % message)
.../python-rsa/tests/test_strings.py:37: BytesWarning: str() on a bytes instance
  print("\tEncrypted: %s" % encrypted)
.../python-rsa/tests/test_strings.py:40: BytesWarning: str() on a bytes instance
  print("\tDecrypted: %s" % decrypted)
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed unittest to cover the new SHA-224 hash method</title>
<updated>2018-02-05T12:59:52+00:00</updated>
<author>
<name>Sybren A. Stüvel</name>
<email>sybren@stuvel.eu</email>
</author>
<published>2018-02-05T12:34:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rsa-git.git/commit/?id=da7145a8835820d63539909cfe5dcc8954e4013a'/>
<id>da7145a8835820d63539909cfe5dcc8954e4013a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>PKCS#1 2.0: Implementation of MGF1 (#89)</title>
<updated>2017-06-10T09:29:32+00:00</updated>
<author>
<name>Michael Manganiello</name>
<email>adamantike@users.noreply.github.com</email>
</author>
<published>2017-06-10T09:29:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/rsa-git.git/commit/?id=d00852509aa3702827941882941dc1c76368cf8c'/>
<id>d00852509aa3702827941882941dc1c76368cf8c</id>
<content type='text'>
Implementation of the Mask Generation Function `MGF1` used in the OAEP encoding step.
For more information, the MGF1 specification is at https://tools.ietf.org/html/rfc2437#section-10.2.1</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implementation of the Mask Generation Function `MGF1` used in the OAEP encoding step.
For more information, the MGF1 specification is at https://tools.ietf.org/html/rfc2437#section-10.2.1</pre>
</div>
</content>
</entry>
</feed>
