[Checkins] SVN: zope.app.authentication/trunk/ Make InternalPrincipal use SSHA password manager by default.
Dan Korostelev
nadako at gmail.com
Thu Jan 22 09:10:28 EST 2009
Log message for revision 94941:
Make InternalPrincipal use SSHA password manager by default.
Changed:
U zope.app.authentication/trunk/CHANGES.txt
U zope.app.authentication/trunk/src/zope/app/authentication/principalfolder.py
-=-
Modified: zope.app.authentication/trunk/CHANGES.txt
===================================================================
--- zope.app.authentication/trunk/CHANGES.txt 2009-01-22 13:15:54 UTC (rev 94940)
+++ zope.app.authentication/trunk/CHANGES.txt 2009-01-22 14:10:28 UTC (rev 94941)
@@ -12,6 +12,8 @@
passwords. As this encoding gives better security agains dictionary
attacks, users are encouraged to switch to this new password schema.
+* InternalPrincipal now uses SSHA password manager by default.
+
3.4.4 (2008-12-12)
------------------
Modified: zope.app.authentication/trunk/src/zope/app/authentication/principalfolder.py
===================================================================
--- zope.app.authentication/trunk/src/zope/app/authentication/principalfolder.py 2009-01-22 13:15:54 UTC (rev 94940)
+++ zope.app.authentication/trunk/src/zope/app/authentication/principalfolder.py 2009-01-22 14:10:28 UTC (rev 94941)
@@ -54,7 +54,7 @@
vocabulary="Password Manager Names",
description=_("The password manager will be used"
" for encode/check the password"),
- default="Plain Text",
+ default="SSHA",
# TODO: The password manager name may be changed only
# if the password changed
readonly=True
@@ -127,7 +127,7 @@
# zope.app.zopeappgenerations.evolve2
def __init__(self, login, password, title, description=u'',
- passwordManagerName="Plain Text"):
+ passwordManagerName="SSHA"):
self._login = login
self._passwordManagerName = passwordManagerName
self.password = password
More information about the Checkins
mailing list