<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/passlib.git/docs, branch stable</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>bumped to 1.7.4, marking for release</title>
<updated>2020-10-08T18:15:48+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2020-10-08T18:15:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=bd35871b2f64d4f119e0971c3c93709e5742034b'/>
<id>bd35871b2f64d4f119e0971c3c93709e5742034b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>passlib.ext.django: Updated UTs to work with latest django release</title>
<updated>2020-10-08T01:33:47+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2020-10-08T01:33:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=a4f23dd8fed25cefc93cb257e00b16502a87dbd4'/>
<id>a4f23dd8fed25cefc93cb257e00b16502a87dbd4</id>
<content type='text'>
(should fix long-standing issue 98)

* test_ext_django:

    - Simplified "stock config" setup code.  It now gets it's "sha_rounds" value
      from the django source, so we don't have to manually update it every time
      django changes their default.  This should require less maintenance across
      minor django releases.  (Should fix issue 98, and prevent recurrence)

    - Updated tests to account for quirks in how encoded hashes are handled.
      Specifically: None, "", and invalid hashes all cause subtly different
      behaviors across django versions.  tests pass against django 1.8 - 3.1.

    - split "empty hash" test out from the loop it shared with "null hash" test,
      since the two behave differently.

* tox: expanded envlist to explicitly test a bunch more django versions
  (1.8 - 3.1); and remove some needless "django 2.x + py2" tests

* passlib.apps: reformatted django CryptContext declarations;
  added one for django 2.1 (which dropped "django_bcrypt" it's default list)

* passlib.ext.django:

    - added internal "quirks" helper as central place to track
      minor edge-case changes between django versions.

    - passlib_to_django() helper now falls back to searching hasher classes
      directly, even if patch isn't installed.  this allows it to work
      for django hashers that have been removed from django's default list.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(should fix long-standing issue 98)

* test_ext_django:

    - Simplified "stock config" setup code.  It now gets it's "sha_rounds" value
      from the django source, so we don't have to manually update it every time
      django changes their default.  This should require less maintenance across
      minor django releases.  (Should fix issue 98, and prevent recurrence)

    - Updated tests to account for quirks in how encoded hashes are handled.
      Specifically: None, "", and invalid hashes all cause subtly different
      behaviors across django versions.  tests pass against django 1.8 - 3.1.

    - split "empty hash" test out from the loop it shared with "null hash" test,
      since the two behave differently.

* tox: expanded envlist to explicitly test a bunch more django versions
  (1.8 - 3.1); and remove some needless "django 2.x + py2" tests

* passlib.apps: reformatted django CryptContext declarations;
  added one for django 2.1 (which dropped "django_bcrypt" it's default list)

* passlib.ext.django:

    - added internal "quirks" helper as central place to track
      minor edge-case changes between django versions.

    - passlib_to_django() helper now falls back to searching hasher classes
      directly, even if patch isn't installed.  this allows it to work
      for django hashers that have been removed from django's default list.
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: python2.6 compat fixes -- a few "{}" set constructors slipped in.</title>
<updated>2020-10-08T01:20:39+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2020-10-08T01:20:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=479d593f8b05f31b59b1448509879d6977d5d580'/>
<id>479d593f8b05f31b59b1448509879d6977d5d580</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>passlib.context: now raises UnknownHashError() if hash can't be identified.</title>
<updated>2020-10-07T18:46:57+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2020-10-07T18:46:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=7086228eec5138cd40d39e18c7a132b703d07cdc'/>
<id>7086228eec5138cd40d39e18c7a132b703d07cdc</id>
<content type='text'>
this inherits from ValueError, and has same text, so backwards compatible.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this inherits from ValueError, and has same text, so backwards compatible.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: typo fixes</title>
<updated>2020-10-06T16:32:56+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2020-10-06T16:32:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=d221b9006a1370a79bc19b8b645250d2bf35397c'/>
<id>d221b9006a1370a79bc19b8b645250d2bf35397c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bumped to 1.7.3; updated docs for release</title>
<updated>2020-10-06T15:32:06+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2020-10-06T15:32:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=2ea80fa6f7a49fa2496d7db775252fd79036b2d6'/>
<id>2ea80fa6f7a49fa2496d7db775252fd79036b2d6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>docs / sha crypt: commented out the "implicit_rounds" param in docs,</title>
<updated>2020-10-06T15:31:41+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2020-10-06T15:31:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=4fd7c8efa8027bfbc017fcbe0c5d85e6e1506696'/>
<id>4fd7c8efa8027bfbc017fcbe0c5d85e6e1506696</id>
<content type='text'>
it's not actually supported by using(), and isn't needed for users
(issue 121)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
it's not actually supported by using(), and isn't needed for users
(issue 121)
</pre>
</div>
</content>
</entry>
<entry>
<title>passlib.hash: added ldap_salted_sha256 &amp; ldap_salted_512 (issue 124)</title>
<updated>2020-10-06T01:14:41+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2020-10-06T01:14:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=3f1ad211d9499f5c36e9cc90c888c6e0da50ab3c'/>
<id>3f1ad211d9499f5c36e9cc90c888c6e0da50ab3c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>passlib.handlers: cases where crypt() returns malformed hash</title>
<updated>2020-10-06T01:14:03+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2020-10-06T01:14:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=a2809fd98ed58eb006d204b05cc1519bdf1b12de'/>
<id>a2809fd98ed58eb006d204b05cc1519bdf1b12de</id>
<content type='text'>
now return a single unified InternalBackendError() class,
instead of AssertionError.

This change has a couple of parts:

* assert statements replaced with permanent checks,
  since crypt() is unpredictable enough that we need to have this always on,
  even if production runs code in "-O2" mode.

* added debug_only_repr() helper which allows including sensitive stuff
  like salts &amp; hash digests within error tracebacks -- will only do so
  when global flag is enabled; and that's currently only set by unittest suite.

* added new InternalBackendError() exception class (a RuntimeError subclass);
  which is raised instead of an AssertionError.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
now return a single unified InternalBackendError() class,
instead of AssertionError.

This change has a couple of parts:

* assert statements replaced with permanent checks,
  since crypt() is unpredictable enough that we need to have this always on,
  even if production runs code in "-O2" mode.

* added debug_only_repr() helper which allows including sensitive stuff
  like salts &amp; hash digests within error tracebacks -- will only do so
  when global flag is enabled; and that's currently only set by unittest suite.

* added new InternalBackendError() exception class (a RuntimeError subclass);
  which is raised instead of an AssertionError.
</pre>
</div>
</content>
</entry>
<entry>
<title>passlib.handlers.bcrypt: safe_verify() calls should test for NotImplemented</title>
<updated>2020-10-06T01:06:56+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2020-10-06T01:06:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/passlib.git/commit/?id=0b6c5bdc88ace23e7f609ef9ef72da92495dddab'/>
<id>0b6c5bdc88ace23e7f609ef9ef72da92495dddab</id>
<content type='text'>
before boolean; bool(NotImplemented) is deprecated as of python 3.9
(fixes issue 125)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
before boolean; bool(NotImplemented) is deprecated as of python 3.9
(fixes issue 125)
</pre>
</div>
</content>
</entry>
</feed>
