Hi everyone,
We’ve just released NServiceBus.Encryption.MessageProperty 2.0.1.
Fixed bug
-
#87
System.FormatException: Invalid format string
inRijndaelEncryptionService
when used withMicrosoft.Extensions.Logging
How to know if you are affected
You are affected if you are using RijndaelEncryptionService
using a key with a bit length smaller than the maximum valid key bit length in combination with Microsoft.Extensions.Logging
.
Symptoms
The endpoint cannot be started and fails with
System.FormatException: Invalid format string. Expected 2 format parameters, but failed to lookup parameter index 1
---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Microsoft.Extensions.Logging.LogValuesFormatter.GetValue(Object[] values, Int32 index)
at Microsoft.Extensions.Logging.FormattedLogValues.get_Item(Int32 index)
Should you upgrade immediately
This update can be applied during the next maintenance window and does not need to be applied immediately.
Where to get it
You can install the new versions from NuGet.
With thanks,
The team in Particular
Please read our release policy for more details. Follow @ParticularNews to be notified of new releases and bug fixes.