Improving DataProtection linkability #41411
Labels
area-dataprotection
Includes: DataProtection
breaking-change
This issue / pr will introduce a breaking change, when resolved / merged.
linker-friendliness
Tracking linker friendliness
Needs: Design
This issue requires design work before implementating.
Milestone
After 33ea420 this causes linkability warnings everywhere that uses data protection (cookies/identity)
The default
aspnetcore/src/DataProtection/DataProtection/src/RegistryPolicyResolver.cs
Line 23 in 321ec91
But by default there are only two built in types that we need support would be:
The high level idea would be we just swap out the default implementation to a new implementation store that only supports these same two decryptors but is trimmable and can read the old format, and will throw an error telling them how to swap back to the old store if they use any other type. This would allow us to Apply the trimmable warning to whatever the API is new flag (maybe on DataProtectionOptions.EnableLegacyPolicyResolver?)
The text was updated successfully, but these errors were encountered: