[Zope3-Users] possible bug in
zope\app\authentication\principalfolder.py
Shailesh Kumar
shaileshk at gmail.com
Thu Aug 9 05:02:34 EDT 2007
Hi,
Just another quick question on this. Is there any plan for new bug fix
releases of 3.3 branch? or Will the next releases be on the 3.4
branch?
With regards,
-Shailesh
On 8/9/07, Adam Groszer <agroszer at gmail.com> wrote:
> Hello Shailesh,
>
> As I remember the fix was later.
>
> Thursday, August 9, 2007, 10:51:18 AM, you wrote:
>
> > I have Zope 3.3.1 the official release.
>
> > With regards,
> > -Shailesh
>
>
> > On 8/9/07, Adam Groszer <agroszer at gmail.com> wrote:
> >> Hello Shailesh,
> >>
> >> Which version of Z3 re you using?
> >> As I remember that was fixed, but I can't dig the info from SVN.
> >>
> >> Tuesday, August 7, 2007, 5:28:02 PM, you wrote:
> >>
> >> > Hi,
> >>
> >> > I was using InternalPrincipal object and specified a password with
> >> > non-ascii characters. Since Password is derived from TextLine, hence
> >> > its supposed to be acceptable. But I found that if I use MD5 or SHA1
> >> > password managers, it leads to problems. The following exception is
> >> > thrown.
> >>
> >> > I guess the password needs to be encoded in UTF8 before being hashed
> >> > by md5 or sha1.
> >>
> >> > File
> >> > "C:\Python24\Lib\site-packages\zope\app\authentication\principalfolder.py",
> >> > line 124, in __init__ self.password = password
> >> > File
> >> > "C:\Python24\Lib\site-packages\zope\app\authentication\principalfolder.py",
> >> > line 144, in setPassword self._password =
> >> > passwordManager.encodePassword(password)
> >> > File
> >> > "C:\Python24\Lib\site-packages\zope\app\authentication\password.py",
> >> > line 76, in encodePassword return md5.new(password).hexdigest()
> >>
> >> > With regards,
> >> > -Shailesh
> >> > _______________________________________________
> >> > Zope3-users mailing list
> >> > Zope3-users at zope.org
> >> > http://mail.zope.org/mailman/listinfo/zope3-users
> >>
> >>
> >>
> >> --
> >> Best regards,
> >> Adam mailto:agroszer at gmail.com
> >>
> >>
>
> --
> Best regards,
> Adam mailto:agroszer at gmail.com
>
>
More information about the Zope3-users
mailing list