Code Monkey home page Code Monkey logo

Comments (2)

siemensikkema avatar siemensikkema commented on May 20, 2024

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.

jogu avatar jogu commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.