summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2018-10-26 23:49:32 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2018-10-26 23:49:32 +0200
commitbe8a66ab961764f653e31703ff005e3c384d88b7 (patch)
tree721cea8c13ecd4c9bcdfb3a1e9ef952b692fa7aa
parent6910fe0a745cbe22d65583d7031d97bb9a92ce49 (diff)
downloaditsdangerous-be8a66ab961764f653e31703ff005e3c384d88b7.tar.gz
Updated changelog and docs
-rw-r--r--CHANGES.rst13
-rw-r--r--src/itsdangerous/signer.py4
2 files changed, 15 insertions, 2 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index ec526d4..47ff878 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,8 +1,21 @@
+Version 1.1.0
+-------------
+
+Released 2018-10-26
+
+- Change algorithm back to SHA-1
+- Add support for fallback algorithm
+
Version 1.0.0
-------------
Released 2018-10-18
+YANKED
+
+*Note*: this release was yanked from pypi because it changed the default
+algorithm to SHA-512. This decision was reverted and it remains at SHA1.
+
- Drop support for Python 2.6 and 3.3.
- Refactor code from a single module to a package. Any object in the
API docs is still importable from the top-level ``itsdangerous``
diff --git a/src/itsdangerous/signer.py b/src/itsdangerous/signer.py
index 84932e5..6bddc03 100644
--- a/src/itsdangerous/signer.py
+++ b/src/itsdangerous/signer.py
@@ -38,7 +38,7 @@ class HMACAlgorithm(SigningAlgorithm):
"""Provides signature generation using HMACs."""
#: The digest method to use with the MAC algorithm. This defaults to
- #: SHA-512, but can be changed to any other function in the hashlib
+ #: SHA1, but can be changed to any other function in the hashlib
#: module.
default_digest_method = staticmethod(hashlib.sha1)
@@ -74,7 +74,7 @@ class Signer(object):
"""
#: The digest method to use for the signer. This defaults to
- #: SHA-512 but can be changed to any other function in the hashlib
+ #: SHA1 but can be changed to any other function in the hashlib
#: module.
#:
#: .. versionadded:: 0.14