<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/passlib.git/admin, branch ironpython-support-dev</title>
<subtitle>foss.heptapod.net: python-libs/passlib
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/'/>
<entry>
<title>updated tox config, moved GAE helper into tests module to silence tox warning</title>
<updated>2012-04-18T02:48:10+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-18T02:48:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=5e880d9a938f11bc1e6d29b6e4e7eb42190fdd6d'/>
<id>5e880d9a938f11bc1e6d29b6e4e7eb42190fdd6d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CryptPolicy deprecation, part 5 - updated docs, changelog, benchmark script</title>
<updated>2012-04-17T19:37:59+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-17T19:37:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=8341dc6179d656b898f944b0cd848c350c627aab'/>
<id>8341dc6179d656b898f944b0cd848c350c627aab</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://91.123.203.49/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>
<entry>
<title>parse_mc3/render_mc3 helpers now handle rounds str&lt;-&gt;int, consolidated a bunch of redundant code</title>
<updated>2012-04-10T16:33:06+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-10T16:33:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=d1aaad2741b18bf582e938c03230a84e158a7445'/>
<id>d1aaad2741b18bf582e938c03230a84e158a7445</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>passlib.exc: added constructors for common errors, should normalize error messages</title>
<updated>2012-04-10T16:14:27+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-10T16:14:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=f74deb32c6af1eac658e7d30ee3fe20e8fdf141c'/>
<id>f74deb32c6af1eac658e7d30ee3fe20e8fdf141c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>removed default policy file &amp; object</title>
<updated>2012-04-09T19:29:44+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-09T19:29:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=34f766f4a2f11b19ce233e136e435c131531e42c'/>
<id>34f766f4a2f11b19ce233e136e435c131531e42c</id>
<content type='text'>
was using default policy to store recommended defaults for hashes,
but it only affects CryptContext objects, and users seem to frequent
using the handler objects directly - so going to store recommended
defaults in the handler from now on.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
was using default policy to store recommended defaults for hashes,
but it only affects CryptContext objects, and users seem to frequent
using the handler objects directly - so going to store recommended
defaults in the handler from now on.
</pre>
</div>
</content>
</entry>
<entry>
<title>added hack to clear warnings registry so assertWarningList() tests will pass reliably</title>
<updated>2012-03-11T22:37:49+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-03-11T22:37:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=09b88be2e515ebeddaf64a0f15309b6a3f04416f'/>
<id>09b88be2e515ebeddaf64a0f15309b6a3f04416f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>renamed calc_checksum() -&gt; _calc_checksum(), hiding the last of the private methods of most handlers</title>
<updated>2012-02-09T04:32:13+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-02-09T04:32:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=dcd2dcc7243052b2d5bd7d9f4abbedbb01911e13'/>
<id>dcd2dcc7243052b2d5bd7d9f4abbedbb01911e13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>renamed passlib.exc warning classes</title>
<updated>2012-02-09T04:25:45+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-02-09T04:25:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=4712bcd50e12e8ed2e8c135d88ed49951dd45bdf'/>
<id>4712bcd50e12e8ed2e8c135d88ed49951dd45bdf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>large refactor of GenericHandler internals</title>
<updated>2012-02-09T03:38:25+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-02-09T03:38:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=86a2dc3ed68fcdf7853f5e219541a19b5fcacfff'/>
<id>86a2dc3ed68fcdf7853f5e219541a19b5fcacfff</id>
<content type='text'>
strict keyword
--------------
* GenericHandler's "strict" keyword had poorly defined semantics;
  replaced this with "use_defaults" and "relaxed" keywords.

  Most handlers' from_string() method specified strict=True.
  This is now the default behavior, use_defaults=True is enabled
  only for encrypt() and genconfig(). relaxed=True is enabled
  only for specific handlers (and unittests) whose code requires it.

  This *does* break backward compat with passlib 1.5 handlers,
  but this is mostly and internal class.

* missing required settings now throws a TypeError instead of
  a ValueError, to be more in line with std python behavior.

* The norm_xxx functions provided by the GenericHandler mixins
  (e.g. norm_salt) have been renamed to _norm_xxx() to reflect their
  private nature; and converted from class methods to instance
  methods, to simplify their call signature for subclassing.

misc
----
* rewrote GenericHandler unittests to use constructor only,
  instead of poking into norm_salt/norm_rounds internals.

* checksum/salt charset checks speed up using set comparison

* some small cleanups to FHSP implementation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
strict keyword
--------------
* GenericHandler's "strict" keyword had poorly defined semantics;
  replaced this with "use_defaults" and "relaxed" keywords.

  Most handlers' from_string() method specified strict=True.
  This is now the default behavior, use_defaults=True is enabled
  only for encrypt() and genconfig(). relaxed=True is enabled
  only for specific handlers (and unittests) whose code requires it.

  This *does* break backward compat with passlib 1.5 handlers,
  but this is mostly and internal class.

* missing required settings now throws a TypeError instead of
  a ValueError, to be more in line with std python behavior.

* The norm_xxx functions provided by the GenericHandler mixins
  (e.g. norm_salt) have been renamed to _norm_xxx() to reflect their
  private nature; and converted from class methods to instance
  methods, to simplify their call signature for subclassing.

misc
----
* rewrote GenericHandler unittests to use constructor only,
  instead of poking into norm_salt/norm_rounds internals.

* checksum/salt charset checks speed up using set comparison

* some small cleanups to FHSP implementation
</pre>
</div>
</content>
</entry>
</feed>
