identity.saprovider.encryption_algorithmOn Jun 26, 7:58 am, Sanjay
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to use md5 encryption in my application and hence I have the
> following line in my app.cfg:
>
> identity.saprovider.encryption_algorithm='md5'
>
> As I understand from the commented documentation in app.cfg (see
> below), if I assign a text password to any user object like this:
>
> u.password = 'clear text'
>
> the 'clear text' should automatically get md5 hashed. But it is not
> happening in my user registration process. Am I missing something?
>
> I am using SQLAlchemy.
>
You are right, that should get hashed automatically. Can you see what
tg thinks the config variable is in your controller? i.e. what is
tg.config.get('identity.saprovider.encryption_algorithm')? Perhaps
something is messed up there.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---