Skip to content

Commit 2d812ea

Browse files
committed
feat: Add persistence security tests for state management
1 parent aecc977 commit 2d812ea

2 files changed

Lines changed: 399 additions & 2 deletions

File tree

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515

1616
> **Upgrading from v1.x?** See [Breaking Changes in v2.0.0](#breaking-changes-in-v300) for migration guide.
1717
18+
### Supported Platforms
19+
20+
| .NET Version | Status |
21+
|--------------|--------|
22+
| .NET 8.0 | ✅ Fully Supported |
23+
| .NET 9.0 | ✅ Fully Supported |
24+
| .NET 10.0 | ✅ Fully Supported |
25+
1826
---
1927

2028
## Why This Library?
@@ -717,8 +725,11 @@ builder.Services.AddScoped<IStateValidator<CartState>, CartValidator>();
717725

718726
```csharp
719727
.WithTabSync(sp, opts => opts
720-
.EnableMessageSigning() // HMAC-SHA256
721-
.WithSigningKey(customKey)) // Optional custom key
728+
.WithOriginDerivedKey()) // Recommended: derives key from origin
729+
730+
// Or with explicit key
731+
.WithTabSync(sp, opts => opts
732+
.WithSharedSigningKey(MessageSigner.DeriveKeyFromSeed("MyApp")))
722733
```
723734

724735
---

0 commit comments

Comments
 (0)