summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2012-11-04 11:19:41 -0600
committerMichael Merickel <michael@merickel.org>2012-11-04 11:19:41 -0600
commit19b8207ff1e959669d296407ed112545364a495d (patch)
tree02ce76919f96d9f3f74bf1db99e00be3598183c7 /CHANGES.txt
parent9149461a45399a9f7f23322daa7c02e1397f9a91 (diff)
downloadpyramid-19b8207ff1e959669d296407ed112545364a495d.tar.gz
pyramid-19b8207ff1e959669d296407ed112545364a495d.tar.bz2
pyramid-19b8207ff1e959669d296407ed112545364a495d.zip
merged SHA512AuthTktAuthenticationPolicy into AuthTktAuthenticationPolicy
AuthTktAuthenticationPolicy now accepts a hashalg parameter and is no longer deprecated. Docs recommend overriding hashalg and using 'sha512'.
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt22
1 files changed, 4 insertions, 18 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 45fc19762..390d3c3e3 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -4,6 +4,10 @@ Next release
Features
--------
+- ``pyramid.authentication.AuthTktAuthenticationPolicy`` has been updated to
+ support newer hashing algorithms such as ``sha512``. Existing applications
+ should consider updating if possible.
+
- Added an ``effective_principals`` route and view predicate.
- Do not allow the userid returned from the ``authenticated_userid`` or the
@@ -43,24 +47,6 @@ Bug Fixes
attribute of the request. It no longer fails in this case. See
https://github.com/Pylons/pyramid/issues/700
-Deprecations
-------------
-
-- The ``pyramid.authentication.AuthTktAuthenticationPolicy`` authentication
- policy is deprecated in Pyramid 1.4 due to its use of the MD5 hashing
- algorithm, which has known hash collision vulnerabilities. The risk of an
- exploit is low. However, for improved authentication security, use the
- ``pyramid.authentication.SHA512AuthTktAuthenticationPolicy`` instead.
- Cookies generated by the AuthTktAuthenticationPolicy are not compatible with
- cookies generated by the SHA512AuthTktAuthenticationPolicy, however, so
- switching to the latter will imply that all existing users with a valid
- cookie will be required to re-login. The SHA-512 version is not compatible
- with Apache's mod_auth_tkt either, so if you are relying on that
- compatibility, you'll want to stick with the MD5 version.
-
- A deprecation warning is now emitted when the AuthTktAuthenticationPolicy is
- imported.
-
Internals
---------