J
juan
I am trying to use the DPAPI for encryption of some string data. I took the
code right from the MSDN example:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/secnetht07.asp
Encryption goes off without any issues, but when I try to decrypt I get the
following error: Decryption Failed: Unable to update the password. The
value provided for the new password does not meet the length, complexity or
history requirement of the domain.
I tried running my DLL from an ASP.NET page or a .NET app with the same
results. I then turned on user interface and it poped up a dialog on
decryption and I said allow it and decryption still failed.
Do I have something restricting me here on my machine or on my network?
Currently I am just trying to run on my own machine with using the machine
store (I tried user store and it didn't help). I searched around and didn't
find anyone with this same issue. Everyone seemed to just point to the
articles and they acted like it just worked.
Any insights would be appreciated.
code right from the MSDN example:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/secnetht07.asp
Encryption goes off without any issues, but when I try to decrypt I get the
following error: Decryption Failed: Unable to update the password. The
value provided for the new password does not meet the length, complexity or
history requirement of the domain.
I tried running my DLL from an ASP.NET page or a .NET app with the same
results. I then turned on user interface and it poped up a dialog on
decryption and I said allow it and decryption still failed.
Do I have something restricting me here on my machine or on my network?
Currently I am just trying to run on my own machine with using the machine
store (I tried user store and it didn't help). I searched around and didn't
find anyone with this same issue. Everyone seemed to just point to the
articles and they acted like it just worked.
Any insights would be appreciated.