Skip to content

Releases: ektrah/nsec

23.9.0-preview.3

24 Sep 20:58
Compare
Choose a tag to compare
23.9.0-preview.3 Pre-release
Pre-release

New Features

  • Algorithms
    • AEAD: AEGIS-128L, AEGIS-256

Compatibility

This pre-release runs on .NET 6 and 7.

23.6.0-preview.2

17 Jun 09:45
Compare
Choose a tag to compare
23.6.0-preview.2 Pre-release
Pre-release

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

14 May 12:54
Compare
Choose a tag to compare
23.5.0-preview.1 Pre-release
Pre-release

API Changes

  • Deprecated APIs have been removed

Compatibility

This pre-release runs on .NET 6 and 7.

22.4.0

30 Apr 10:40
Compare
Choose a tag to compare

New release! 🎉

See Installation for installation details and supported platforms.

22.4.0-preview3

03 Apr 22:41
Compare
Choose a tag to compare
22.4.0-preview3 Pre-release
Pre-release

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

13 Nov 15:19
Compare
Choose a tag to compare
21.11.0-preview2 Pre-release
Pre-release

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

14 Nov 13:26
Compare
Choose a tag to compare
20.11.0-preview1 Pre-release
Pre-release

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

01 Mar 15:09
Compare
Choose a tag to compare

New release! 🎉

See Installation for installation details and supported platforms.

20.1.0-preview2

26 Jan 16:44
Compare
Choose a tag to compare
20.1.0-preview2 Pre-release
Pre-release

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

31 Dec 16:01
Compare
Choose a tag to compare
19.12.0-preview1 Pre-release
Pre-release

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.