JSONWebToken.swift
JSONWebToken.swift copied to clipboard
Swift implementation of JSON Web Token (JWT).
Getting some errors trying to use this with Swift 2 For example let rem = input.characters.count % 4 // Characters is unavailable error defer { context.deallocate(capacity: 1) } // deallocate(capacity:)isunavailableerror
Hi, Getting too many issues after installed the pod -- pod 'JSONWebToken' --- is it still working with the latest version or not?
This also solve issue when installing with SPM on latest release. Error log: ``` the manifest is missing a Swift tools version specification; consider prepending to the manifest '// swift-tools-version:5.4.0'...
hello i tried checking it out with the swift package manager, but it failed to resolve packages: because JSONWebToken.swift >=1.4.3 contains incompatible tools version and root depends on JSONWebToken.swift 2.2.0..
Using JSONWebToken (2.2.0) I have this error when using Xcode Version 10.0 beta 5 
@kylef Please update JSONWebToken to latest version of Swift 5.0.
Hi, Seems useful to support ES256, Apple require it for Apple Music API => [https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/SetUpWebServices.html#//apple_ref/doc/uid/TP40017625-CH2-SW1](https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/AppleMusicWebServicesReference/SetUpWebServices.html#//apple_ref/doc/uid/TP40017625-CH2-SW1)
Bump swift package manager version to 4.2
This approach, as explained in this [SO answer](https://stackoverflow.com/a/42852743/108859) works rather well. It checks if CommonCrypto is available and if yes (on iOS 12) it does nothing. On earlier version it...