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 <[EMAIL PROTECTED]> 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@zope.org
>> > http://mail.zope.org/mailman/listinfo/zope3-users
>>
>>
>>
>> --
>> Best regards,
>>  Adam                            mailto:[EMAIL PROTECTED]
>>
>>

-- 
Best regards,
 Adam                            mailto:[EMAIL PROTECTED]

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to