-
-
Notifications
You must be signed in to change notification settings - Fork 243
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
Support OpenSSL 1.0.2 RSA key with passphrase's non standard format #359
Comments
Could you please share how you generate the private key? 🙏 |
[alex@S2T ~]$ ssh-keygen -f 2.txt uPYAgVjjzxYjKbw924vlDyF+/bbggY7aP9Lwsw5hBFMhSlIVUs80P1a0FfNDlG8c |
I've tried the keys from the test and am still having the issue. ImSmKFFN18D5eI5GCEQFTVqpPs/NUjMq0/o6b+EZBeFvMYO18oLZltrduS8LeFmq |
https://docs.openssl.org/3.1/man3/PEM_read_bio_PrivateKey/#pem-encryption-format https://crypto.stackexchange.com/a/40293 |
Going to make this as an enhancement since it was never support 🙊 if you'd like to contribute the implementation that would be more then welcome :) |
What happened?
I'm using rsa key with passphrase. When I construct jwt::algorithm::rs256 I've got an exception: failed to load key: bio read failed
How To Reproduce?
Version
0.7.0
What OS are you seeing the problem on?
Linux
What compiler are you seeing the problem on?
GCC
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: