<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/passlib.git/passlib/utils, branch ironpython-support-dev</title>
<subtitle>foss.heptapod.net: python-libs/passlib
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/passlib.git/'/>
<entry>
<title>Merge from default</title>
<updated>2012-04-18T03:14:51+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-18T03:14:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=64ab6fc89b497efa9169f11d55251e417c4db0ba'/>
<id>64ab6fc89b497efa9169f11d55251e417c4db0ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>disabling saslprep() support under Jython - it lacks the stringprep module</title>
<updated>2012-04-18T01:58:54+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-18T01:58:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=2ad8463a456796300df5340a2bc511e290e62072'/>
<id>2ad8463a456796300df5340a2bc511e290e62072</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>a bunch of bugfixes found during unittesting</title>
<updated>2012-04-18T01:55:38+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-18T01:55:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=ceb7a00ddae502624d609bc63a9048f0de9f1b23'/>
<id>ceb7a00ddae502624d609bc63a9048f0de9f1b23</id>
<content type='text'>
* bsdi_crypt apparently available on openbsd 4.9
* typo fixes
* ConfigParser apparently only uses OrderedDict for &gt;= PY27,
  adjusted CryptContext test accordingly
* fixed test that depended on sha256_crypt.default_rounds
* handle os_crypt backend w/ no fallback (bcrypt)
* let _norm_rounds accept longs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bsdi_crypt apparently available on openbsd 4.9
* typo fixes
* ConfigParser apparently only uses OrderedDict for &gt;= PY27,
  adjusted CryptContext test accordingly
* fixed test that depended on sha256_crypt.default_rounds
* handle os_crypt backend w/ no fallback (bcrypt)
* let _norm_rounds accept longs
</pre>
</div>
</content>
</entry>
<entry>
<title>updated passlib.apache module's api - more flexible to use, changed some ambiguous method names</title>
<updated>2012-04-17T19:09:21+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-17T19:09:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=29e7c681bed9a2a9b96f71b56b0bf4edca8ef044'/>
<id>29e7c681bed9a2a9b96f71b56b0bf4edca8ef044</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>work on des_crypt family</title>
<updated>2012-04-13T18:10:11+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-13T18:10:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=5a3bd0d6ac8ad706c7d4a21aa49a51c9fcc54873'/>
<id>5a3bd0d6ac8ad706c7d4a21aa49a51c9fcc54873</id>
<content type='text'>
* cleaned up source of des_crypt variants and DES util functions
* DES utils functions now have tighter input validation, full UT coverage
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* cleaned up source of des_crypt variants and DES util functions
* DES utils functions now have tighter input validation, full UT coverage
</pre>
</div>
</content>
</entry>
<entry>
<title>assorted bugfixes, tweaks, and tests added; based on coverage examination</title>
<updated>2012-04-13T01:52:26+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-13T01:52:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=c0f420bf7d7659ee110432f7cbb0233554dfd32a'/>
<id>c0f420bf7d7659ee110432f7cbb0233554dfd32a</id>
<content type='text'>
* test os_crypt backend has functional fallback
* test handler methods accept all unicode/bytes combinations for secret &amp; hash
* fixed some incorrect error messages &amp; types being caught &amp; raised
* other minor cleanups
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test os_crypt backend has functional fallback
* test handler methods accept all unicode/bytes combinations for secret &amp; hash
* fixed some incorrect error messages &amp; types being caught &amp; raised
* other minor cleanups
</pre>
</div>
</content>
</entry>
<entry>
<title>wrote out all the known issues; made an attempt at deal w/ unicode-v-bytes issues, will try again some other time</title>
<updated>2012-04-12T18:08:19+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-12T18:08:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=8eb4c4d3b58eec6802c698ddbf357b2fd243a68c'/>
<id>8eb4c4d3b58eec6802c698ddbf357b2fd243a68c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>starting branch to add ironpython support</title>
<updated>2012-04-12T17:35:27+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-12T17:35:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=a4a2d2414f7fa5d92abbc3f0d71da17425563994'/>
<id>a4a2d2414f7fa5d92abbc3f0d71da17425563994</id>
<content type='text'>
* adds hack to disable saslprep() since stringprep is missing
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* adds hack to disable saslprep() since stringprep is missing
</pre>
</div>
</content>
</entry>
<entry>
<title>ran full UTs, found and fixed a few bugs introduced in last few commits.</title>
<updated>2012-04-11T23:31:37+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-11T23:31:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=046cfe8a3489ccf87e06a5a9982b283eb71945b0'/>
<id>046cfe8a3489ccf87e06a5a9982b283eb71945b0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>clarify behavior for secret=None and hash=None</title>
<updated>2012-04-11T21:49:09+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-11T21:49:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=5bd6deb8144cb24caa51e82c7682f706ecc09a6c'/>
<id>5bd6deb8144cb24caa51e82c7682f706ecc09a6c</id>
<content type='text'>
* passing a non-string secret or non-string hash to any
  CryptContext or handler method will now reliably result
  in a TypeError.

  previously, passing hash=None to many handler identify() and verify()
  methods would return False, while others would raise a TypeError.
  other handler methods would alternately throw ValueError or TypeError
  when passed a value that wasn't unicode or bytes.
  the various CryptContext methods also behaved inconsistently,
  depending on the behavior of the underlying handler.

  all of these behaviors are gone, they should all raise the same TypeError.

* redid many of the from_string() methods to verify the hash type.

* moved secret type &amp; size validation to GenericHandler's encrypt/genhash/verify methods.
  this cheaply made the secret validation global to all hashes, and lets
  _calc_digest() implementations trust that the secret is valid.

* updated the CryptContext and handler unittests to verify the above behavior is adhered to.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* passing a non-string secret or non-string hash to any
  CryptContext or handler method will now reliably result
  in a TypeError.

  previously, passing hash=None to many handler identify() and verify()
  methods would return False, while others would raise a TypeError.
  other handler methods would alternately throw ValueError or TypeError
  when passed a value that wasn't unicode or bytes.
  the various CryptContext methods also behaved inconsistently,
  depending on the behavior of the underlying handler.

  all of these behaviors are gone, they should all raise the same TypeError.

* redid many of the from_string() methods to verify the hash type.

* moved secret type &amp; size validation to GenericHandler's encrypt/genhash/verify methods.
  this cheaply made the secret validation global to all hashes, and lets
  _calc_digest() implementations trust that the secret is valid.

* updated the CryptContext and handler unittests to verify the above behavior is adhered to.
</pre>
</div>
</content>
</entry>
</feed>
