Jason Tackaberry wrote:
> On Mon, 2007-01-01 at 10:57 -0800, Ryan Roth wrote:
>
>> Ok here we go. It is salted like you ask. There was a little trouble
>> with the way the '$' for the salt were handled when stored, so I drop
>> them from the string before saving them.
>>
>
> Ok, we're looking better now. :) I'd really like to see this '$'
> problem figured out, though, so we can avoid the kludge of removing them
> from the output.
>
> The reason is that I'd like to maintain backward compatibility by
> treating the password in the config file as plaintext if it match r'^\$1
> \$[a-zA-Z/.]{8}\$'.
>
> Can you elaborate what you mean by trouble with the way it was handled?
> What was config.WWW_USERS.get(username) returning when the string had
> the '$' chars?
>
Yeah the config.WWW_USERS.get(username) returns 'None' if the are '$' in
the string
> Does anyone know why this might be a problem? (Duncan, or dischi if you
> remember?) Is freevo doing some macro expansion or something?
>
>
>> -# -*- coding: iso-8859-1 -*-
>> +# /bin/bash: indent: command not found
>>
>
> Oops, what happened here? :)
>
Fat fingers :)
>
>> +from crypt import crypt
>> +import string
>>
>
>
Did you fix both those or should I?
BTW I do not know how to program in python
> string is unused.
>
> Thanks,
> Jason.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Freevo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-devel
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel