[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">
    <providers>
        <remove name="MySQLMembershipProvider"/>
        <add name="MySQLMembershipProvider" .... passwordFormat="Encrypted"
..../>
    </providers>
</membership>
<machineKey
validationKey="3F5AEE12D9EE359871867FCB45D819AF27AA7263A20EB484F3FAA6A4FFB3B345903C23394F1030DE39078A5D39809C79F06F9C2974E0F3A6810504DF7EEA219B"
decryptionKey="4184C83286BA70E4706F996D95B7DF848A3143227200BA74CB2E624E2B730E0F"
validation="SHA1" decryption="AES"/>

There was a similar topic on this issue in a previous thread:
http://go-mono.com/forums/#nabble-td1539979

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