Skip to content

Commit be8a66a

Browse files
committed
Updated changelog and docs
1 parent 6910fe0 commit be8a66a

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

CHANGES.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
1+
Version 1.1.0
2+
-------------
3+
4+
Released 2018-10-26
5+
6+
- Change algorithm back to SHA-1
7+
- Add support for fallback algorithm
8+
19
Version 1.0.0
210
-------------
311

412
Released 2018-10-18
513

14+
YANKED
15+
16+
*Note*: this release was yanked from pypi because it changed the default
17+
algorithm to SHA-512. This decision was reverted and it remains at SHA1.
18+
619
- Drop support for Python 2.6 and 3.3.
720
- Refactor code from a single module to a package. Any object in the
821
API docs is still importable from the top-level ``itsdangerous``

src/itsdangerous/signer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class HMACAlgorithm(SigningAlgorithm):
3838
"""Provides signature generation using HMACs."""
3939

4040
#: The digest method to use with the MAC algorithm. This defaults to
41-
#: SHA-512, but can be changed to any other function in the hashlib
41+
#: SHA1, but can be changed to any other function in the hashlib
4242
#: module.
4343
default_digest_method = staticmethod(hashlib.sha1)
4444

@@ -74,7 +74,7 @@ class Signer(object):
7474
"""
7575

7676
#: The digest method to use for the signer. This defaults to
77-
#: SHA-512 but can be changed to any other function in the hashlib
77+
#: SHA1 but can be changed to any other function in the hashlib
7878
#: module.
7979
#:
8080
#: .. versionadded:: 0.14

0 commit comments

Comments
 (0)