Eits.Utililties.Identity.SecureTwoFactor 1.0.0
UserStore decorator that encrypts ASP.NET Core Identity 2FA recovery codes + authenticator keys at rest using IDataProtection. Drop-in replacement for the default UserStore — register via .AddUserStore<SecureTwoFactorUserStore<...>>() on the IdentityBuilder. Replaces the legacy Secure.Two.Factor.User.Store package (Sodium-based, source lost). Backward-compatible read path: legacy plaintext rows decrypt as-is on first read and are re-encrypted on next write.
No packages depend on Eits.Utililties.Identity.SecureTwoFactor.
1.0.0 — fresh re-implementation of the legacy Secure.Two.Factor.User.Store using IDataProtection (replaces Sodium dependency). Encrypts RecoveryCodes + AuthenticatorKey only — other Identity tokens are already DataProtection-encrypted by their providers.
.NET 10.0
- Microsoft.AspNetCore.DataProtection (>= 10.0.7)
- Microsoft.AspNetCore.Identity.EntityFrameworkCore (>= 10.0.7)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.7)
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.0 | 1 | 07/05/2026 |