ironmansoftware / issues

Public Issue tracker for Ironman Software products.
https://ironmansoftware.com
32 stars 2 forks source link

[WRN] Error unprotecting the session cookie. #3369

Open alexrgreenwood opened 4 weeks ago

alexrgreenwood commented 4 weeks ago

Summary of the feedback

2024-06-07 20:16:58.596 +01:00 [DBG] Using managed keyed hash algorithm 'System.Security.Cryptography.HMACSHA256'.
2024-06-07 20:16:58.597 +01:00 [DBG] Using key {a2f68a4b-7e38-48e0-972a-73de5c17f8de} as the default key.
2024-06-07 20:16:58.598 +01:00 [WRN] Error unprotecting the session cookie.
System.Security.Cryptography.CryptographicException: The key {bc782187-c871-4984-937a-59388eaea827} was not found in the key ring. For more information go to https://aka.ms/aspnet/dataprotectionwarning
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)
   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)
   at Microsoft.AspNetCore.Session.CookieProtection.Unprotect(IDataProtector protector, String protectedText, ILogger logger)
alexrgreenwood commented 1 week ago

only seem to get this when using the docker container 🤔