Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Configuring MemberRole.dll and AESConfiguring MemberRole.dll and AES
Previous
 
Next
New Post
2/14/2007 5:09 PM
 
 I have a SQL membership repository that is currently used with the 2.0 Membership provider using SHA1 and AES.

I need to access that repository from a machine with the 1.1 framework. I have the 1.0.0.0 version (152K) of MemberRole.dll. I set the same machine validation key and machine decryption key as on the 2.0 machine. When I attempt to validate, I get the message "Specified key is not a valid size for this algorithm".

The decription key I added is 64 bytes long. It replaced one 40 bytes wrong. Everything I've read suggests that it is using 3DES instead of AES. But, I can't see how to change it in the web.config file. Moving the 2.0 installation back to 3DES isn't really an option. Neither is moving the 1.1 stuff to 2.0 right now.

Here are the original settings:

<appSettings>

<add key="wsha" value="server=(local);Integrated Security=true;Network Library=DBMSSOCN;Initial Catalog=wshadb" />

<add key="MachineValidationKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902" />

<add key="MachineDecryptionKey" value="F9D1A2D3E1D3E2F7B3D9F90FF3965ABDAC304902F8D923AC" />

<add key="MachineValidationMode" value="SHA1" />

</appSettings>

Note that using the 2.0 system's 128-byte validation key but leaving the original 40-byte decryption key in place gets rid of the error but causes the password to encrypt to a different value than is on the database.

Any and all help is appreciated.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Configuring MemberRole.dll and AESConfiguring MemberRole.dll and AES


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out