<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/passlib.git/passlib/ext, branch scrypt-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>deprecating the 'vary_rounds' option -- *very* little security benefit,</title>
<updated>2016-06-10T20:46:32+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-06-10T20:46:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=e94db1b7b1d2b531f26cc4295e005daa7638b0f3'/>
<id>e94db1b7b1d2b531f26cc4295e005daa7638b0f3</id>
<content type='text'>
and not worth the amount of code it requires to support it.

* stripped out vary_rounds from all internal presets
* added deprecation warning if it's ever used
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and not worth the amount of code it requires to support it.

* stripped out vary_rounds from all internal presets
* added deprecation warning if it's ever used
</pre>
</div>
</content>
</entry>
<entry>
<title>.encrypt() method renamed to .hash(), other api cleanups</title>
<updated>2016-06-10T16:32:52+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-06-10T16:32:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=281dacd121d72c7570442a13f2113f63c6c439ba'/>
<id>281dacd121d72c7570442a13f2113f63c6c439ba</id>
<content type='text'>
.encrypt()
----------
hash.encrypt() &amp; context.encrypt() have been renamed to .hash().
this should take care of the long-standing issue 21 (the poor naming of .encrypt).
per docs, legacy aliases will remain in place until passlib 2.0.

.genhash() / .genconfig()
-------------------------
taking advantage of this reorganization to also deprecate .genconfig()
and .genhash() -- they're not really useful in a modern system,
nor as needed for historical support as initially thought:
.genconfig() will be retired completely in passlib 2.0;
.genhash() is rolled into the new .hash() method along with .encrypt().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
.encrypt()
----------
hash.encrypt() &amp; context.encrypt() have been renamed to .hash().
this should take care of the long-standing issue 21 (the poor naming of .encrypt).
per docs, legacy aliases will remain in place until passlib 2.0.

.genhash() / .genconfig()
-------------------------
taking advantage of this reorganization to also deprecate .genconfig()
and .genhash() -- they're not really useful in a modern system,
nor as needed for historical support as initially thought:
.genconfig() will be retired completely in passlib 2.0;
.genhash() is rolled into the new .hash() method along with .encrypt().
</pre>
</div>
</content>
</entry>
<entry>
<title>passlib.ext.django: dropped support for django 1.6-1.7, per passlib 1.6.6 announcement</title>
<updated>2016-02-09T17:07:46+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-02-09T17:07:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=fe6270ef83e447a9bf1c2fccb8e72342d12b783c'/>
<id>fe6270ef83e447a9bf1c2fccb8e72342d12b783c</id>
<content type='text'>
motivation is that django hashers framework has matured greatly
as of django 1.8, and dropping all prior versions not only eases support burden,
but opens up opportunity for integration via less invasive method in a
future passlib release, using django 1.8 as a common base.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
motivation is that django hashers framework has matured greatly
as of django 1.8, and dropping all prior versions not only eases support burden,
but opens up opportunity for integration via less invasive method in a
future passlib release, using django 1.8 as a common base.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge with stable</title>
<updated>2016-02-09T16:39:09+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-02-09T16:39:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=79441fd7909b3d158e6432a28791c6689e00a43a'/>
<id>79441fd7909b3d158e6432a28791c6689e00a43a</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: fixes so we're compatible with django 1.9, fixes issue 68</title>
<updated>2016-02-08T22:34:34+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2016-02-08T22:34:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=1d5a4a690012f1e78f228041c5190caffca295e9'/>
<id>1d5a4a690012f1e78f228041c5190caffca295e9</id>
<content type='text'>
failures were mostly in the unittests, not in passlib proper.
however, to get things working, ended up making some internal improvements
to django integration.

* passlib.ext.django now patches get_hashers() for django 1.8+

* the (still internal) _PasslibHasherWrapper, which wraps a passlib hash
  in a django-hasher-compatible api, got an overhaul:

    - 'rounds' and 'iterations' attributes now populated from underlying
      passlib hasher, so inspecting them gives sane result.

    - now autohandles 'rounds' vs 'iterations' to match expected django api.

    - bugfix: correct OrderedDict import removed in django 1.9

    - .must_update() now mimics django's semantics, using wrapped handler.parse_rounds().
      previously just always returned False.

    - NOTE: all these changes bring this thing much closer to be able to provide
      passlib handlers TO django, rather than having to patch entire django framework.

* unittests

    - django 1.7+: populate django apps before test; required as of 1.9

    - added rounds settings required for 1.9 test to function

    - django tests integratio - now keeps context in sync
      for all hashers, not just pbkdf2_sha256; needed to pass some django 1.9 tests.

* django 1.8 is LTS, and &lt;= 1.7 is EOLed, per https://www.djangoproject.com/download/;
  so now planning to drop django 1.6 / 1.7 support in passlib 1.7.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
failures were mostly in the unittests, not in passlib proper.
however, to get things working, ended up making some internal improvements
to django integration.

* passlib.ext.django now patches get_hashers() for django 1.8+

* the (still internal) _PasslibHasherWrapper, which wraps a passlib hash
  in a django-hasher-compatible api, got an overhaul:

    - 'rounds' and 'iterations' attributes now populated from underlying
      passlib hasher, so inspecting them gives sane result.

    - now autohandles 'rounds' vs 'iterations' to match expected django api.

    - bugfix: correct OrderedDict import removed in django 1.9

    - .must_update() now mimics django's semantics, using wrapped handler.parse_rounds().
      previously just always returned False.

    - NOTE: all these changes bring this thing much closer to be able to provide
      passlib handlers TO django, rather than having to patch entire django framework.

* unittests

    - django 1.7+: populate django apps before test; required as of 1.9

    - added rounds settings required for 1.9 test to function

    - django tests integratio - now keeps context in sync
      for all hashers, not just pbkdf2_sha256; needed to pass some django 1.9 tests.

* django 1.8 is LTS, and &lt;= 1.7 is EOLed, per https://www.djangoproject.com/download/;
  so now planning to drop django 1.6 / 1.7 support in passlib 1.7.
</pre>
</div>
</content>
</entry>
<entry>
<title>passlib.ext.django cleanups</title>
<updated>2015-07-22T17:17:33+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2015-07-22T17:17:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=f3dae73a09335aafb52e3636f1554be6462b53e5'/>
<id>f3dae73a09335aafb52e3636f1554be6462b53e5</id>
<content type='text'>
* stripped out support for django 1.4/1.5;
  removes a TON of edge cases we no longer need.

* added formal MIN_DJANGO_VERSION constant,
  moved version check to models._apply() so test cases don't throw error
  if older django is present.

* monkeypatcher now supports passed wrapped function as first argument,
  simplifies imports &amp; calls w/in models.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* stripped out support for django 1.4/1.5;
  removes a TON of edge cases we no longer need.

* added formal MIN_DJANGO_VERSION constant,
  moved version check to models._apply() so test cases don't throw error
  if older django is present.

* monkeypatcher now supports passed wrapped function as first argument,
  simplifies imports &amp; calls w/in models.py
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from stable</title>
<updated>2015-01-28T04:05:27+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2015-01-28T04:05:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=961678647855d0488a972f49aebdbad0c2627f87'/>
<id>961678647855d0488a972f49aebdbad0c2627f87</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bugfix: passlib.ext.django: clarified &amp; tweaked logic for when we pass</title>
<updated>2015-01-25T17:42:23+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2015-01-25T17:42:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=85ed9fdbad6de406fc117ff900e4f274840ab19e'/>
<id>85ed9fdbad6de406fc117ff900e4f274840ab19e</id>
<content type='text'>
make_password()'s salt parameter on to the hash (fixes issue 52).

old behavior would incorrectly pass explicit salt provided for hash
that didn't need one; a situation that only occurs in django 1.4.0-1.4.5's
unittests, and was corrected in django 1.4.6's.

new behavior separates out a couple of the cases we were trying to handle,
handles them separately, has better comment explaining what's going on.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
make_password()'s salt parameter on to the hash (fixes issue 52).

old behavior would incorrectly pass explicit salt provided for hash
that didn't need one; a situation that only occurs in django 1.4.0-1.4.5's
unittests, and was corrected in django 1.4.6's.

new behavior separates out a couple of the cases we were trying to handle,
handles them separately, has better comment explaining what's going on.
</pre>
</div>
</content>
</entry>
<entry>
<title>added the official OrderedDict backport, replaced existing refs</title>
<updated>2015-01-11T00:06:27+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2015-01-11T00:06:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=072dabd56cbd49ade133ade295b0f0013123f0cf'/>
<id>072dabd56cbd49ade133ade295b0f0013123f0cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>stripped out compatibility shims for django 0.9 - 1.3;</title>
<updated>2015-01-11T00:02:43+00:00</updated>
<author>
<name>Eli Collins</name>
<email>elic@assurancetechnologies.com</email>
</author>
<published>2015-01-11T00:02:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/passlib.git/commit/?id=414b5642635c7f98ee7a2783c0652bb4e464f522'/>
<id>414b5642635c7f98ee7a2783c0652bb4e464f522</id>
<content type='text'>
now requiring django &gt;= 1.4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
now requiring django &gt;= 1.4
</pre>
</div>
</content>
</entry>
</feed>
