<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pycrypto.git/lib/Crypto/SelfTest, branch master</title>
<subtitle>github.com: dlitz/pycrypto.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/'/>
<entry>
<title>Extended fix for the RSA boundary check</title>
<updated>2014-06-23T04:28:37+00:00</updated>
<author>
<name>Legrandin</name>
<email>helderijs@gmail.com</email>
</author>
<published>2014-05-07T10:20:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=f49fd0e1b57071e52200806d095679753fe36e17'/>
<id>f49fd0e1b57071e52200806d095679753fe36e17</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove a few custom exception types.</title>
<updated>2014-06-23T03:42:00+00:00</updated>
<author>
<name>Legrandin</name>
<email>helderijs@gmail.com</email>
</author>
<published>2014-03-04T21:04:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=629c26c21857f205b08211d7b1333eb5580c525d'/>
<id>629c26c21857f205b08211d7b1333eb5580c525d</id>
<content type='text'>
The following custom exceptions are replaced with ValueError:
* Crypto.Util.PaddingError
* Crypto.PublicKey.KeyFormatError

The custom Crypto.Util.asn1.NoDerElementError is now private to the
module.

Some white spaces have been removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following custom exceptions are replaced with ValueError:
* Crypto.Util.PaddingError
* Crypto.PublicKey.KeyFormatError

The custom Crypto.Util.asn1.NoDerElementError is now private to the
module.

Some white spaces have been removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Get rid of catch-all exceptions. LP#1178485.</title>
<updated>2014-06-23T03:16:05+00:00</updated>
<author>
<name>Richard Mitchell</name>
<email>richard.j.mitchell@gmail.com</email>
</author>
<published>2014-04-29T13:55:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=9e171b794f102f5745076051202997df9eac254a'/>
<id>9e171b794f102f5745076051202997df9eac254a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tests when running under "python -OO" (PYTHONOPTIMIZE set to 1 or 2)</title>
<updated>2014-06-22T11:07:24+00:00</updated>
<author>
<name>Dwayne Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2014-06-22T10:32:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=54f2bc5b81124bfff8fa7f1b7cd6287a1fee1152'/>
<id>54f2bc5b81124bfff8fa7f1b7cd6287a1fee1152</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 when running with "python3 -bb"</title>
<updated>2014-06-22T11:07:24+00:00</updated>
<author>
<name>Dwayne Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2014-06-22T10:06:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=0ac94701bb52fef566f96ce43eb8db6befee9b60'/>
<id>0ac94701bb52fef566f96ce43eb8db6befee9b60</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix handle_fastmath_import_error (broken due to incorrect path in the previous commit)</title>
<updated>2014-02-22T21:08:45+00:00</updated>
<author>
<name>Dwayne Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2014-02-22T21:02:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=87280f4419c8befffcdd153468aba4582493dcc4'/>
<id>87280f4419c8befffcdd153468aba4582493dcc4</id>
<content type='text'>
Tested on py21-py33 by force-uninstalling libgmp10 after building.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested on py21-py33 by force-uninstalling libgmp10 after building.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor 3 places handling fastmath ImportError</title>
<updated>2014-02-22T20:40:25+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2013-11-11T22:45:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=eb51036c9b8de72b53bcd2f0754c698d2ad40380'/>
<id>eb51036c9b8de72b53bcd2f0754c698d2ad40380</id>
<content type='text'>
so that they call `Crypto.SelfTest.st_common.handle_fastmath_import_error`,
thereby eliminiating duplicate code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
so that they call `Crypto.SelfTest.st_common.handle_fastmath_import_error`,
thereby eliminiating duplicate code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use different method for getting ext_suffix</title>
<updated>2014-02-22T20:40:25+00:00</updated>
<author>
<name>Marc Abramowitz</name>
<email>marc@marc-abramowitz.com</email>
</author>
<published>2013-11-11T21:57:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=5dc0db200952fe4ea65e4100f4e0c1a2bb79b9f2'/>
<id>5dc0db200952fe4ea65e4100f4e0c1a2bb79b9f2</id>
<content type='text'>
```
ext_suffix = get_config_var("EXT_SUFFIX") or get_config_var("SO")
```

because `get_config_var("SO")` returns None in Python 3.4.0a4 because the "SO"
variable is deprecated and "EXT_SUFFIX" is the new way to get this information
(see: http://bugs.python.org/issue19555)

This fixes `TypeError: Can't convert 'NoneType' object to str implicitly`
errors when running the tests on Python 3.4.0a4.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
```
ext_suffix = get_config_var("EXT_SUFFIX") or get_config_var("SO")
```

because `get_config_var("SO")` returns None in Python 3.4.0a4 because the "SO"
variable is deprecated and "EXT_SUFFIX" is the new way to get this information
(see: http://bugs.python.org/issue19555)

This fixes `TypeError: Can't convert 'NoneType' object to str implicitly`
errors when running the tests on Python 3.4.0a4.
</pre>
</div>
</content>
</entry>
<entry>
<title>Throw exception when IV is used with ECB or CTR</title>
<updated>2014-02-22T07:43:06+00:00</updated>
<author>
<name>Legrandin</name>
<email>helderijs@gmail.com</email>
</author>
<published>2013-12-22T21:24:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4'/>
<id>8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4</id>
<content type='text'>
The IV parameter is currently ignored when initializing
a cipher in ECB or CTR mode.

For CTR mode, it is confusing: it takes some time to see
that a different parameter is needed (the counter).

For ECB mode, it is outright dangerous.

This patch forces an exception to be raised.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The IV parameter is currently ignored when initializing
a cipher in ECB or CTR mode.

For CTR mode, it is confusing: it takes some time to see
that a different parameter is needed (the counter).

For ECB mode, it is outright dangerous.

This patch forces an exception to be raised.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename S2V -&gt; _S2V until we come up with a real PRF API</title>
<updated>2013-10-21T00:48:54+00:00</updated>
<author>
<name>Dwayne Litzenberger</name>
<email>dlitz@dlitz.net</email>
</author>
<published>2013-10-21T00:46:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pycrypto.git/commit/?id=7bb217aedd421fc89120baf98b719bf49c4f5fb7'/>
<id>7bb217aedd421fc89120baf98b719bf49c4f5fb7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
