cubicweb #2356393 crash on ctl updade with passlib ... [validation pending]
File "build\bdist.win32\egg\passlib\utils\handlers.py", line 407, in __init__
see higher:
File "c:\data\zipspace\pagode_LABO\cubicweb\server\utils.py", line 48, in from
This is actually a bw compat violation from passlib 1.6. | |
priority | important |
---|---|
type | bug |
done in | 3.14.8 |
load | 0.200 |
load left | 0.000 |
closed by | #e7243ed7bb0a Fixes for compatibility with passlib 1.6 (closes #2356393) |
Comments
-
2012/05/14 15:09, written by acampeas
add commentlet's try:
diff --git a/server/utils.py b/server/utils.py
--- a/server/utils.py
+++ b/server/utils.py
@@ -45,7 +45,7 @@
raise ValueError("invalid cubicweb-md5 hash")
salt = hash.split('$', 1)[0]
chk = hash.split('$', 1)[1]
- return cls(salt=salt, checksum=chk, strict=True)
+ return cls(salt=salt, checksum=chk)
def to_string(self):
return to_hash_str(u'%s$%s' % (self.salt, self.checksum or u''))