Skip to content

Releases: scottbrady91/IdentityModel

4.0.0

05 Apr 08:52
Compare
Choose a tag to compare
  • Updated to support .NET 8 and Microsoft.IdentityModel v7.x
    • initial implementation of the new EdDsaSignatureProvider.Sign override requiring ReadOnlySpan<byte> calls into existing byte[] based Sign method
  • EdDsa now implements AsymmetricAlgorithm
  • Added new ExtendedJsonWebKeyConverter (contribution from @thomas-tran)
  • Removed support support for .NET 6 and Microsoft.IdentityModel v6.x
  • Removed JwtPayloadHandler used by obsolete Branca and PASETO libraries
  • Removed obsolete Bouncy Castle constructors from EdDsaSecurityKey

3.1.0

29 Mar 08:42
Compare
Choose a tag to compare
  • Added .NET 8 as target framework
  • Updated BouncyCastle dependency from Portable.BouncyCastle to the maintained BouncyCastle.Cryptography
  • Pinned Microsoft.IdentityModel dependency to version 6.x
  • Updated dependencies
  • Deprecated Branca and PASETO libraries

Important

This is the last version to include support for Branca and PASETO. These token libraries are now deprecated and only support Microsoft.IdentityModel 6.x. This is due to the low usage of this library and the PASETO project as a whole.

3.0.0

23 Oct 13:41
Compare
Choose a tag to compare

Breaking changes

  • Added support for new overload on SignatureProvider.Verify. This is a breaking change introduced in Microsoft.IdentityModel version 6.23.0 (contribution by @NzKyle)

2.0.0

15 Jul 08:34
Compare
Choose a tag to compare

Breaking changes

Other changes

  • Removed Newtonsoft.Json dependency (contribution by @kgamecarter)
  • Fixed exception message for unsupported PASETO local types
  • Fixed exception message for invalid JSON in JWT payload token
  • Updated EdDSA, Branca, and PASETO test vectors
  • Added new EdDSA abstraction EdDsa

1.4.0

28 Nov 08:46
Compare
Choose a tag to compare
  • Added support for .NET 5 (now only supports .NET Core 3.1 and .NET 5)
  • Added helper for Base16 (hex) encoding
  • Updated minimum versions of crypto dependencies
  • Lots of GitHub actions updates 🙄

1.3.1

13 Sep 09:17
Compare
Choose a tag to compare

Minor update to make my Branca online tool possible.

  • Added overloads to BrancaTokenHandler to set the token timestamp.
  • Added Branca timestamp helpers

1.3.0

24 Aug 18:39
Compare
Choose a tag to compare

Fixed Branca implementation by switching to libsodium (Bouncy Castle is not ready for XChaCha-Poly1305). This makes this implementation incompatible with other implementations that use Bouncy Castle (the Java implementations).

The initial version of this .NET Branca implementation was a port of the Java Branca libraries. I have since found out that these do not conform to the Branca specification and have updated my .NET Branca library accordingly.

1.2.0

04 Aug 08:49
Compare
Choose a tag to compare

Downgraded Microsoft.IdentityModel dependency to support Microsoft's JWT Bearer authentication handler. The plan is to support Microsoft.IdentityModel v6.x once ASP.NET Core does.

1.1.0

04 Aug 08:38
Compare
Choose a tag to compare

Added Ed25519 support for JWT signing
Added test vectors for PASETO v1.public

1.0.0

08 May 20:36
Compare
Choose a tag to compare

Initial release of Branca and PASETO token handlers.