This topic is locked
[SOLVED]

 How do I turn off password encryption?

5/17/2016 9:41:05 AM
ASPRunner.NET General questions
Pete K author

I have a project in development for which I previously turned on password encryption. I can't remember how I did that, but according to the help file, the option is supposed to be on the "registration and passwords" dialog in the security section. I need to temporarily turn it off while I'm testing, but I can't find the place to do so. I see no such option on that dialog.
There is a separate security area called Encryption, but that seems to be more general and anyway it is not enabled on my project. Yet passwords are definitely being encrypted/decrypted, so I don't think that's what is in play here.
By the way, my project was initially created (and maybe this option was set) in a trial version of ASPR.net, but I have since purchased and upgraded to Enterprise version (8.1). Could that be related in some way to this issue?
Somebody please point it out to me because I haven't done my stupid for this week yet. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=23852&image=1&table=forumtopics' class='bbc_emoticon' alt=';)' />

Admin 5/17/2016

Can you post a screenshot of what you see on 'Registration and passwords' dialog?

Pete K author 5/17/2016



Can you post a screenshot of what you see on 'Registration and passwords' dialog?


I linked to it in the OP above. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=79381&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />

Admin 5/17/2016

The part in the manual that refers to "encrypt passwords using MD5 algorithm" only applies to projects created by older version (v6 and older) where MD5 encryption was available. This option is not available in new projects.
My guess is that you turned on encryption in 'Encryption' section. Double-check this.

Pete K author 5/18/2016

Thanks for the guess, Sergey, but that is not the case: http://imgur.com/roBpghw
To reiterate, I'm pretty certain that I set this up under the evaluation version of ASPRunner.net, which did not provide the more general encryption ability (which can be applied to all data). I subsequently purchased and installed the Enterprise version. I do remember turning on encryption of the password field at some point prior to upgrading, but I don't recall how I did that. I do remember being prompted by ASPR to increase the size of my password field to 32 characters. It was very early in my ASPR evaluation.
Despite not being set anywhere that I can find in the UI, somewhere in the code it is still encrypting passwords. For example, when I enter the password in the generated app as "pw", it gets stored in the database as: 8fe4c11451281c094a6578e6ddbf5eed
I'm hoping these details will help reveal what is going on. Is there a flag somewhere I could manually reset, or some code I could delete?

Admin 5/18/2016

This is all very strange by you can open project file (.netr) in any text editor and locate the following line:

<m_bEncryptPasswords>0</m_bEncryptPasswords>


Make sure it has 0 there and re-build the project.

Pete K author 5/19/2016

Thank you Sergey. This is exactly what I was looking for. That fixed it.