yourkarma / JWT

A JSON Web Token implementation in Objective-C.
MIT License
351 stars 106 forks source link

Cannot compile PEM file example using 3.0.0 #185

Open David-A-RogersHS2 opened 6 years ago

David-A-RogersHS2 commented 6 years ago

New Issue Checklist

Issue Info

Info Value
Platform Name ios
Platform Version
CocoaLumberjack Version ???
Integration Method cocoapods
Xcode Version Xcode 8.3.3
Repro rate 100%

Issue Description and Steps

I installed via cocoapods, so I needed to load 3.0.0-beta.1 (see issue #117). In 3.0.0 there appears to be no class JWTCryptoKeyExtractor.

Can you provide an example of using JWT with RS256 using a pemfile that works under 3.0.0?

Would it be simpler to edit the pem file into whatever format RS256 expects as the secret?

Thanks. --dr

lolgear commented 6 years ago

@David-A-RogersHS2 Hi! Try latest available version or master branch :)

David-A-RogersHS2 commented 6 years ago

Thanks. —dr

David Rogers HS2 Solutions o: 312-561-4265, x312 david.rogers@hs2solutions.commailto:ben.kane@hs2solutions.com

From: Dmitry Lobanov notifications@github.com<mailto:notifications@github.com> Reply-To: yourkarma/JWT reply@reply.github.com<mailto:reply@reply.github.com> Date: Wednesday, March 7, 2018 at 1:52 PM To: yourkarma/JWT JWT@noreply.github.com<mailto:JWT@noreply.github.com> Cc: David Rogers david.rogers@hs2solutions.com<mailto:david.rogers@hs2solutions.com>, Mention mention@noreply.github.com<mailto:mention@noreply.github.com> Subject: Re: [yourkarma/JWT] Cannot compile PEM file example using 3.0.0 (#185)

@David-A-RogersHS2https://github.com/david-a-rogershs2 Hi! Try latest available version or master branch :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/yourkarma/JWT/issues/185#issuecomment-371262959, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AT1RUdTqEx3mj2yVChWOaaVJ_oTkAvvLks5tcDpqgaJpZM4SfnqE.