Re: Failed to decrypt
If you are using the new encrypt/decrypt methods of the IO.File be aware that only the user that encrypts can decrypt.
Look at the System.Security.Cryptography namespace
"Firman" <syahmail@xxxxxxxxx> wrote in message
news:OGThWNGiGHA.3296@xxxxxxxxxxxxxxxxxxxxxxx
Dear All,
I'm developing application using VB.Net, and I encrypt connectionstring in configuration file. The application running well on my computer, but the error coming when running at another computer. This the error message:
"Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider. RSA container could not be opened".
Please help me to solve this problem.
Thanks
Firman
Relevant Pages
- Re: Encrypt/Decrypt Files
... I'm having problem with my simple encrypt/decrypt program. ... of my program is to encrypt a text file into a binary file ... What is 'sTmpString' pointing to? ... use this instead of the previous line, it will encrypt and decrypt ... (comp.os.msdos.programmer) - Re: Decrypt problem using Rijndael
... you cannot use Unicode to convert between bytes and strings - replace all the conversions with Convert.From/To Base64String ... I'm using an algo to encrypt/decrypt an xml file using Rijndael. ... of the data to decrypt is invalid" ... (microsoft.public.dotnet.security) - Decrypt problem using Rijndael
... I'm using an algo to encrypt/decrypt an xml file using Rijndael. ... However, SOMETIMES the decrypt algo fails when I try to read the data in cryptostream: ... (microsoft.public.dotnet.security) - RE: Decryption using private key from cert store failing with err
... The reason we need to do a decrypt/encryptis that that is ... It decrypts with the private key and then the ... The other libraries encrypt/decrypt calls do not ... > invalid cryptograph to decrypt, otherwise we will get invalid data ... (microsoft.public.platformsdk.security) - Re: Export / Import key problem
... RSA provider. ... The built-in encrypt/decrypt works just fine. ... My web.config provider entry looks like this. ... processing of a configuration file required to service this request. ... (microsoft.public.dotnet.framework.aspnet.security) |
|