Skip to content

Commit 26ffcef

Browse files
committed
Update targets, dependencies, and improve Library API
- Bump NuGet package versions for Azure, AWS, BouncyCastle, Google, Microsoft.Extensions, and xUnit - Change target frameworks to net481 and net10.0 - Make Library class partial; add thread-safe explicit Initialize() - Require initialization before encrypt/decrypt; throw if not initialized - Add CancellationToken support to all async methods - Zero key material from memory after use for security - Use stricter key name validation (GeneratedRegex on .NET 8+) - Expand and clarify XML documentation - Improve exception handling and parameter validation - Mark synchronous APIs as obsolete and document deadlock risk - Minor code style and documentation improvements
1 parent 9d96b72 commit 26ffcef

3 files changed

Lines changed: 426 additions & 107 deletions

File tree

Reina.Cryptography.Tests/Reina.Cryptography.Tests.csproj

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="coverlet.collector" Version="6.0.0" />
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
15-
<PackageReference Include="xunit" Version="2.5.3" />
16-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3" />
13+
<PackageReference Include="coverlet.collector" Version="10.0.0">
14+
<PrivateAssets>all</PrivateAssets>
15+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
16+
</PackageReference>
17+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.5.1" />
18+
<PackageReference Include="xunit" Version="2.9.3" />
19+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
20+
<PrivateAssets>all</PrivateAssets>
21+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
22+
</PackageReference>
1723
</ItemGroup>
1824

1925
<ItemGroup>

0 commit comments

Comments
 (0)