<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/passlib.git/docs/password_hash_api.rst, branch cmdline-dev</title>
<subtitle>foss.heptapod.net: python-libs/passlib
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/'/>
<entry>
<title>renamed .summary to .description, more apropos; added PrefixWrapper description kwd</title>
<updated>2012-04-17T20:57:17+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-17T20:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=020a13443af9c4549791a8a165c656fff045eef1'/>
<id>020a13443af9c4549791a8a165c656fff045eef1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from default</title>
<updated>2012-04-17T20:41:14+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-04-17T20:41:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=697b6076d08b773805ae8467df86991148f9faa1'/>
<id>697b6076d08b773805ae8467df86991148f9faa1</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://trove.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>
<entry>
<title>various cmdline improvements</title>
<updated>2012-03-13T21:29:37+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-03-13T21:29:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=29fd8e6e770d959de38ed343ad83ac54f1d5215d'/>
<id>29fd8e6e770d959de38ed343ad83ac54f1d5215d</id>
<content type='text'>
* better charset &amp; border-case heuristics for identify command
* fuzzy identify helper added for cisco_type7
* added .summary attr for identify to present more info
* benchmark cmdline interface refined
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* better charset &amp; border-case heuristics for identify command
* fuzzy identify helper added for cisco_type7
* added .summary attr for identify to present more info
* benchmark cmdline interface refined
</pre>
</div>
</content>
</entry>
<entry>
<title>doc tweaks</title>
<updated>2012-03-10T23:32:30+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-03-10T23:32:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=a4d76940ed6b03db079960473e756df4f03fd36b'/>
<id>a4d76940ed6b03db079960473e756df4f03fd36b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>renamed nthash -&gt; bsd_nthash; added real nthash implemented</title>
<updated>2012-03-10T22:21:01+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-03-10T22:21:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=e84f3f69e55f407a935e9f80c7e41d81b3ea63b7'/>
<id>e84f3f69e55f407a935e9f80c7e41d81b3ea63b7</id>
<content type='text'>
after some thought, realized the 'nthash' name should implement
the raw hash. since bsd_nthash was very rarely used, it shouldn't
present backwards incompatibility issues at this point to go
ahead and rename it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
after some thought, realized the 'nthash' name should implement
the raw hash. since bsd_nthash was very rarely used, it shouldn't
present backwards incompatibility issues at this point to go
ahead and rename it.
</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://trove.baserock.org/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>documentation updates for last two commits</title>
<updated>2012-02-09T04:22:09+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-02-09T04:22:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=bf927985d1fe8df1b6a1cb9db4c314bf4c4c13af'/>
<id>bf927985d1fe8df1b6a1cb9db4c314bf4c4c13af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>documentation updates for latest round of changes</title>
<updated>2012-01-19T01:04:34+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-01-19T01:04:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=a4a4d20ec8245f0e2763d08e6f00acbe343c854d'/>
<id>a4a4d20ec8245f0e2763d08e6f00acbe343c854d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>replaced utils.h64 module with utils.Base64Engine instance</title>
<updated>2012-01-18T20:35:29+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2012-01-18T20:35:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=d4ebb05e010b435c62eeb425059bc9d78e090660'/>
<id>d4ebb05e010b435c62eeb425059bc9d78e090660</id>
<content type='text'>
* new utils.Base64Engine() provides flexible class for encoding arbitrary base64 charmaps.
  it should also be a bit faster than the old h64 module.
* predefined 'h64' instance has mostly the same methods as the old h64 module
  which it takes the place off - so imports should be unaffected.
  (the only the exception of the xxx_dc_xxx methods, which now use the 'h64big' instance)
* replaced utils._blowfish base64 encoding with custom Base64Engine instance
  to reduce code duplication.
* more through unittests for Base64Engine.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* new utils.Base64Engine() provides flexible class for encoding arbitrary base64 charmaps.
  it should also be a bit faster than the old h64 module.
* predefined 'h64' instance has mostly the same methods as the old h64 module
  which it takes the place off - so imports should be unaffected.
  (the only the exception of the xxx_dc_xxx methods, which now use the 'h64big' instance)
* replaced utils._blowfish base64 encoding with custom Base64Engine instance
  to reduce code duplication.
* more through unittests for Base64Engine.
</pre>
</div>
</content>
</entry>
</feed>
