On Oct 26, 4:22 pm, h3avyarms <[email protected]> wrote: > Pardon mf ignorance but what is the easiest way to take the > crypted_password that the restful authentication plugin stores in the > DB and extract the real password from it so that it can be placed in a > variable and then used in a view? I have seen some sources where > people are implimenting a forgot and reset function but I just want to > get at the password after its been stored.
You don't. The password isn't actually encrypted; rather an SHA1 digest of the password is stored in the DB. Encryption is difficult, and secure management of the necessary keys is perhaps moreso, so unless its a *requirement* (preferably a somehow reasonable one) that users' passwords be re-retrievable, just implement password reset functionality and be done with it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

