Closed dittmarconsulting closed 5 years ago
Found the solution https://stackoverflow.com/questions/52464995/objective-c-jwt-encode-with-rs256-using-string-data-of-a-private-key/52624479#52624479
Hi! I have the same issue as you. and I followed instructions in the link above and got this error. Could you help me please? how did you make it successful? [seckey] SecKeyCreate init(RSAPrivateKey) failed: -50
New Issue Checklist
Issue Info
Issue Description and Steps
I have simply copied the example code:
Instead of having a
p12
file I have a sting of a secret key. Something like that:Is there a way to implement the string with this library?
Thanks in advance.