[Mono-winforms-list] Encrypted password format does not work for MysqlMembershipProvider

Daniel Liang jcliang80 at gmail.com
Wed Aug 18 03:33:24 EDT 2010

Hi, I am trying to use MysqlMembershipProvider in mono 2.6.4 under Ubuntu,
but Encrypted password keeps failing on me. I tried the same code on Windows
and it works fine.

I have set membership and machineKey in web.config as follows:

<membership defaultProvider="MySQLMembershipProvider">
        <remove name="MySQLMembershipProvider"/>
        <add name="MySQLMembershipProvider" .... passwordFormat="Encrypted"
validation="SHA1" decryption="AES"/>

There was a similar topic on this issue in a previous thread:

But that doesn't describe whether MysqlMembershipProvider works with
Encrypted password in mono or not.

When I create users under Mono, the values under "password" column in the
database are different even I have the same password for all the users. But
if I create the users under windows, the values are all the same.

Does anyone know how to make that work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20100818/deec431a/attachment.html 

More information about the Mono-winforms-list mailing list