Releases: ektrah/nsec
Releases · ektrah/nsec
23.9.0-preview.3
New Features
- Algorithms
- AEAD: AEGIS-128L, AEGIS-256
Compatibility
This pre-release runs on .NET 6 and 7.
23.6.0-preview.2
New Features
- Incremental signing and signature verification
- Algorithms
- Signature: Ed25519ph
Compatibility
This pre-release runs on .NET 6 and 7.
23.5.0-preview.1
API Changes
- Deprecated APIs have been removed
Compatibility
This pre-release runs on .NET 6 and 7.
22.4.0
22.4.0-preview3
New Features
- Extract-then-expand interface for HKDF
API Changes
- A new KeyDerivationAlgorithm2 class deriving from the KeyDerivationAlgorithm class has been added
- HkdfSha256 and HkdfSha512 classes have been changed to derive from the new KeyDerivationAlgorithm2 class
- Method overloads accepting the password as a string have been added to PasswordBasedKeyDerivationAlgorithm
- MinSaltSize and MaxSaltSize properties have been added to KeyDerivationAlgorithm and PasswordBasedKeyDerivationAlgorithm
- KeyDerivationAlgorithm.SupportsSalt and PasswordBasedKeyDerivationAlgorithm.SaltSize have been deprecated and will be removed in a future version
Compatibility
This pre-release runs on .NET 5 and 6 as well as .NET Core 3.1.
21.11.0-preview2
New Features
- Algorithms
- AEAD: XChaCha20-Poly1305
- Password-based key derivation: Argon2id & scrypt
API Changes
- Import, TryImport, Export, and TryExport methods have been added to the SharedSecret class
- The previous SharedSecret.Import method (without a SharedSecretBlobFormat parameter) is obsolete and will be removed in a future version
- The KeyDerivationAlgorithm class has been extended to accept input keying material directly as ReadOnlySpan<byte>
Compatibility
This pre-release supports .NET 5 and 6 as well as .NET Core 3.1.
20.11.0-preview1
API Changes
- The AeadAlgorithm class has been changed to accept nonces simply as ReadOnlySpan<byte>
- The Nonce struct has been deprecated and will be removed in a future version
- The RandomGenerator class has been deprecated and will be removed in a future version
Compatibility
This pre-release supports .NET 5.0 as well as .NET Core 3.1 and 2.1.
20.2.0
New release! 🎉
See Installation for installation details and supported platforms.
20.1.0-preview2
API Changes
- GetExportBlobSize and TryExport methods have been added to the Key and PublicKey classes
Compatibility
NSec now supports Alpine Linux (x64).
This pre-release supports .NET Core 3.1, 3.0, and 2.1.
19.12.0-preview1
API Changes
- The API has been fully annotated with C# 8.0 "nullable" annotations
- Key.PublicKey has been changed from returning null to throwing an InvalidOperationException if the Key is not an asymmetric key
- Key.HasPublicKey has been added for checking whether a Key is an asymmetric key
- PublicKey.Equals has been changed from throwing a NullReferenceException to returning false if
other
is null
Compatibility
This pre-release supports .NET Core 3.1, 3.0, and 2.1.