Skip to content

Releases: vapor/jwt-kit

5.1.2 - Add `RSA-OAEP` to JWK algorithms to support decoding.

30 Jan 15:20
03f5013
Compare
Choose a tag to compare

What's Changed

Add RSA-OAEP to JWK algorithms to support decoding. by @madsodgaard in #226

Fixes an issue where a JWKS failed to decode because it also contains encryption keys and therefore alg such as RSA-OAEP.

This does not add support for the cipher, but at least it will allow us to decode JWKS to use for signing where we might not be able to remove the encryption keys from the remote JWKS.

This patch was released by @0xTim

Full Changelog: 5.1.1...5.1.2

5.1.1 - Fix crash when verifying corrupted token

11 Nov 17:13
6f745e9
Compare
Choose a tag to compare

What's Changed

Fix crash when verifying corrupted token by @ptoffy in #217

Fix #213

This patch was released by @ptoffy

Full Changelog: 5.1.0...5.1.1

4.13.5

04 Nov 10:11
13e7513
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.13.4...4.13.5

5.1.0 - Add FirebaseAuth identity token

18 Oct 16:29
02a0fa6
Compare
Choose a tag to compare

What's Changed

Add FirebaseAuth identity token by @petrpavlik in #207

  • Add support for Firebase Auth by introducing FirebaseAuthIdentityToken.
  • Fix some unit tests not being run. Probably a regression cause by migration to the new testing framework.

Adding support for Firebase Authentication was okayed by @ptoffy, see here vapor/jwt#159.

I’ll also follow up with a PR for https://github.com/vapor/jwt once this is merged in.

This patch was released by @ptoffy

Full Changelog: 5.0.1...5.1.0

5.0.1 - Support Crypto 4.0.0

07 Oct 19:23
39788ce
Compare
Choose a tag to compare

What's Changed

Support Crypto 4.0.0 by @0xTim in #199

Add support for the upcoming release of Swift Crypto 4.0.0

This patch was released by @0xTim

Full Changelog: 5.0.0...5.0.1

5.0.0

05 Oct 10:07
a288abe
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.13.2...5.0.0

5.0.0 Release Candidate 2

15 Aug 14:39
831fe3c
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: 5.0.0-rc.1...5.0.0-rc.2

5.0.0 Release Candidate 1

04 Jul 13:35
fd87490
Compare
Choose a tag to compare
Pre-release

What's Changed

  • Allow iterating keys on key collection and adopt swift-log by @ptoffy in #170
  • update example code and convert to Snippets by @tayloraswift in #171

New Contributors

Full Changelog: 5.0.0-beta.4...5.0.0-rc.1

5.0.0 Beta 4

10 Jun 08:28
e4c0670
Compare
Choose a tag to compare
5.0.0 Beta 4 Pre-release
Pre-release

What's Changed

Full Changelog: 5.0.0-beta.3...5.0.0-beta.4

5.0.0 Beta 3

24 Apr 08:03
6f512cb
Compare
Choose a tag to compare
5.0.0 Beta 3 Pre-release
Pre-release

What's Changed

  • Change to non-optional function String <-> Data by @zunda-pixel in #156
  • Add initialisers to vendor identity tokens by @ptoffy in #150
  • 🚨Update verify function parameter to use some JWTAlgorithm by @ptoffy in #152
  • 🚨Generic key addition by @ptoffy in #160
  • 🚨Make JWTError Sendable by @ptoffy in #162
  • 🚨Update swift version and readme for beta 3 by @ptoffy #164

Breaking Changes

  • The minimum supported Swift version is now 5.10
  • All algorithm specific key addition functions of JWTKeyCollection have been updated to be algorithm agnostic, for example the JWTKeyCollection.addHS256(key: ...) has been renamed to JWTKeyCollection.addHMAC(key: ..., digestAlgorithm: .sha256) etc.
  • The JWTPayload's verify function now takes some JWTAlgorithm instead of any JWTAlgorithm
  • JWTError.malformedToken was removed in favour of JWTError.malformedToken(reason:)

Full Changelog: 5.0.0-beta.2...5.0.0-beta.3