Replace Deflate+XOR with IronSnappy S2 block compression and ChaCha20-Poly1305 / AES-256-GCM AEAD encryption, matching golang/nats-server/server/filestore.go. Introduces FSV2 envelope format alongside existing FSV1 for backward compatibility. Adds 55 new tests across S2CodecTests, AeadEncryptorTests, and FileStoreV2Tests covering all 6 cipher×compression permutations, tamper detection, and legacy format round-trips.
12 lines
363 B
XML
12 lines
363 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<ItemGroup>
|
|
<InternalsVisibleTo Include="NATS.Server.Tests" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<FrameworkReference Include="Microsoft.AspNetCore.App" />
|
|
<PackageReference Include="IronSnappy" />
|
|
<PackageReference Include="NATS.NKeys" />
|
|
<PackageReference Include="BCrypt.Net-Next" />
|
|
</ItemGroup>
|
|
</Project>
|