-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
importX509 certificates with missing version number #308
Labels
bug
Something isn't working
Comments
Hi @mikedh. Thank you for bringing it up. I kinda knew about this but wasn't counting on certificates without a version number to come up. Guess i was wrong. The latest release has this issue fixed. |
Awesome thanks for the fix!! |
Confirmed working on the latest version on NPM. Thanks again! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What happened?
Hi, thanks for the great library!
I generated x509 format certificates using the ED25519 algorithm with
openssl
from the instructions here. I've been reliably getting this error when I callimportX509
(I tried as far as I can tell every combination ofimport...
andalg
):I'm not sure if this is me trying to import an incorrect certificate or a bug with
importX509
. For what it's worth,openssl
can read back the certificates and seems happy. The script I used to call openssl to generate the minimal example below and full console output are in this gist.Version
4.1.4
Runtime
Node.js
Runtime Details
Node v12.21.1
Code to reproduce
The text was updated successfully, but these errors were encountered: