[X] I have searched for a similar issue in the project and found none
Issue Info
Info
Value
Platform Name
ios
Platform Version
14.0
CocoaLumberjack Version
e.g. 2.3.0
Integration Method
cocoapods
Xcode Version
Xcode 14.2
Repro rate
all the time (100%)
JWT version
3.0.0-beta.14
Issue Description and Steps
My demo application is able to generate RS256 and ES256 JWT token. It works for RS256 but doesn't work for ES256. The error message is:
Error Domain=NSOSStatusErrorDomain Code=-50 "EC private key creation from data failed" UserInfo={numberOfErrorsDeep=0, NSDescription=EC private key creation from data failed}
New Issue Checklist
Issue Info
Issue Description and Steps
My demo application is able to generate RS256 and ES256 JWT token. It works for RS256 but doesn't work for ES256. The error message is:
Here is my code:
Please refer to my example project.
JWTDemo.zip