adedw / CommentMap

MIT License
0 stars 0 forks source link

Data protection api warnings #26

Open adedw opened 5 months ago

adedw commented 5 months ago

Running app in container leads to warning:

Using an in-memory repository. Keys will not be persisted to storage.
Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
No XML encryptor configured. Key {...} may be persisted to storage in unencrypted form.
adedw commented 5 months ago

Also antiforgery:

An exception was thrown while deserializing the token.
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.
System.Security.Cryptography.CryptographicException: The key {...} was not found in the key ring. For more information go to https://aka.ms/aspnet/dataprotectionwarning