Comments (2)
Unfortunately this will not be possible for the time being, see #40 and #48. I wonder if things would change if we were to switch to LibreSSL (if this is even possible) since that is support by iOS and macOS 10.13. This in turn might conflict with the planned move to the Server APIs project.
I also see a few other problems:
- Carthage depends on an Xcode project. This conflicts with SPM.
- all the dependencies would also need to support the same build manager, right?
I'm closing this for now. Please reopen if you have thoughts on how to work around this.
from jwt.
Apologies for dragging up an old ticket, but having had to just deal with jwt/jwk on iOS it's a real struggle currently if you particular requirements (eg. I needed ES256 support). A solution that allowed vapor JWT to be used even if it required pulling in openssl may well be worthwhile. There is a cocoa pod for openssl ( https://github.com/krzyzanowskim/OpenSSL ) which is allegedly used by over 11,000 apps ( https://cocoapods.org/pods/OpenSSL-Universal ).
That said, I don't know how/when this might conflict with the move to the Server APIs project, and I can't currently answer your question about dependencies.
FWIW, I ended up using cjose, which also meant pulling in openssl and Jansson. In retrospect I probably should have given more serious consideration to a solution based on vapor JWT.
from jwt.
Related Issues (20)
- ES256 implementation is incorrect HOT 1
- Sporadic failure of ES256 HOT 2
- Error when creating a public signer for certificates HOT 5
- Allow JWT to be extended by user HOT 3
- Documentation request. HOT 2
- Allow configuration of URIs in JWT helpers HOT 6
- Multiple JWT signers not working as expected HOT 1
- Could not create public key from x509Cert HOT 22
- This framework doesn't consider someone may use it in macOS? HOT 8
- Support for Swift 2.1 HOT 1
- Carthage support HOT 2
- Is this library can be installed using pods? HOT 4
- Missing RSA Encryption Algorithms HOT 3
- JWK Verification HOT 2
- integrate JWTKit with Vapor HOT 9
- Broken link to documentation HOT 1
- Library not working with Swift 3 HOT 1
- Missing ECDSASigner to support ES256 … HOT 4
- '&' used with non-inout argument of type 'JWT<_>' HOT 1
- [Question] - Encode with RS256 using string data of a private key HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jwt.