[Mono-aspnet-list] Membership Provider Encrypt Password returning variable results

nzsaint chrisbrown76 at hotmail.com
Wed Dec 16 22:24:47 EST 2009


Hi, I have implemented a custom membership provider which is working fine
under Windows. When I create a user running under Mono (on openSUSE 11.1) I
cannot subsequently login as that user despite the credentials being
correct.

I have tracked the problem down and it seems to be that the
'EncryptPassword' function in System.WebSecurity.MembershipProvider is
returning a different result each time for the same password and salt
despite me specifying 'decryptionKey' and 'decryption' values under
system.web/machineKey in my web.config. 

My understanding is that using these values the encrypted result for a
specific password (and salt) should be the same each time so that the
resulting encrypted password matches that stored in my database when the
user was created. 

Am I missing something or is this a bug? I am using svn r148444.
-- 
View this message in context: http://old.nabble.com/Membership-Provider-Encrypt-Password-returning-variable-results-tp26822533p26822533.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list