-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSA private key creation from data failed #34
Comments
@emilwojtaszek
More information is this can be found in this stackoverflow post You will have to save your key into the server.key file with the \n replaced with actual new lines and no quotes:
And that should give you a private key as follows:
This new should be compatable with SwiftJWT. |
made my day! thanks |
I'm having a tough time using this lib. I'm trying to generate JWT using Google Private key.
My approach below:
I'm getting this error:
Any idea what am I doing wrong?
The text was updated successfully, but these errors were encountered: