Skip to content

Releases: vapor/jwt

Signer and Base64URL decoding fixes

31 Oct 12:54
Compare
Choose a tag to compare
  1. Includes fix for Base64URL decoding padding #9 (thanks @alexaubry!)
  2. Key based Signers can now be initialized with unencoded keys:
    public init(key: String)
    The existing String based initializer was modified to highlight the fact that the key is expected to be encoded:
    public init(encodedKey key: String, encoding: Encoding = Base64Encoding()) throws

0.4.1: Improve initializing and signing

24 Oct 12:28
Compare
Choose a tag to compare

Small API improvements to 0.4.0

Ready for Linux

24 Oct 11:04
Compare
Choose a tag to compare
  • fix tests for Linux
  • use Node instead of JSON for payload
  • represent dates as Ints instead of Doubles
  • flip logic of NotBeforeClaim and ExpirationClaim

I heard you like protocols

12 Oct 16:56
Compare
Choose a tag to compare

This release features a redesigned API that allows customizing many aspects of the creation of tokens using protocols for signing, encoding, and data storage.
Also included is a playground with examples on how to use VaporJWT.

APNS Compatibility

06 Oct 06:24
Compare
Choose a tag to compare
  • added base64URL encoding option (for Apple Push Notification Service compatibility)
  • use correct algorithm for P-256

Actually useable (?)

04 Oct 18:15
Compare
Choose a tag to compare
Actually useable (?) Pre-release
Pre-release
  • Fixes import and exposes API publicly
  • Allow specifying fully custom header

Sneak preview

04 Oct 10:24
Compare
Choose a tag to compare
Sneak preview Pre-release
Pre-release

First release. It does not yet support verifying the payload nor does it support all encryption methods but hopefully it is useful to someone :)