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.

thanks
Sanjay
----------------------------------------------------
# The SqlAlchemyProvider *will* encrypt passwords supplied as part of
your login
# form.  If you set the password through the password property, like:
# my_user.password = 'secret'
# the password will be encrypted in the database, provided identity is
up and
# running, or you have loaded the configuration specifying what
encryption to
# use (in situations where identity may not yet be running, like
tests).


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to