Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in storing when encryption is activated #41

Open
Nisaba opened this issue Feb 17, 2022 · 3 comments
Open

Error in storing when encryption is activated #41

Nisaba opened this issue Feb 17, 2022 · 3 comments

Comments

@Nisaba
Copy link

Nisaba commented Feb 17, 2022

Hello,

If I activate the encryption, I get this error :
"The input is not a valid Base-64 string because it contains a non-Base-64 character, more than two padding characters, or an illegal character among the padding characters. "

Please see attachment.

Thank you for your help

image

@Nisaba
Copy link
Author

Nisaba commented May 3, 2022

Hello,
Someone is here ?
Is this project still supported ?

@luisjurassic
Copy link

Hi @Nisaba , I was having the same problem, the value of the salt property defined by default contains an invalid character. Use a value of type "Guid" which should work. That's what solved it for me.

Example:
_localStorage = new LocalStorage(new LocalStorageConfiguration { EnableEncryption = true, EncryptionSalt = "053994f4-7f89-4280-b991-d0e3e3163922" }, "blablabla");

@Nisaba
Copy link
Author

Nisaba commented Jul 22, 2024

Hi @luisjurassic
Thank you for the tip !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants