Steve Piercy
2018-03-19 c0464221ac3a238a6889ac7a922842e593579fbf
Merge pull request #3246 from stevepiercy/1.8-branch

Fix secret length in doc of SignedCookieSessionFactory
1 files modified
2 ■■■ changed files
pyramid/session.py 2 ●●● patch | view | raw | blame | history
pyramid/session.py
@@ -666,7 +666,7 @@
    ``secret``
      A string which is used to sign the cookie. The secret should be at
      least as long as the block size of the selected hash algorithm. For
      ``sha512`` this would mean a 128 bit (64 character) secret.  It should
      ``sha512`` this would mean a 512 bit (64 character) secret.  It should
      be unique within the set of secret values provided to Pyramid for
      its various subsystems (see :ref:`admonishment_against_secret_sharing`).