-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Using existing CSR - Error - Can not read key length from csr #614
Comments
fixed thank you. |
Hi Neil @Neilpang please check my additional comment on your commit at 72af092#commitcomment-20894340 |
@TomFreudenberg I will think about it later. |
Hi @Neilpang thanks, that works for me. Cheers |
@Neilpang sorry did not work ... I hadn't updated your script first time test. You Regex needs to be like
|
I think there is a mistake in the code right now:
The
to
|
@JackWindows Thank you. |
@JackWindows |
Hi, thanks for your tool!
I run in an issue when using existing CSR files. This occurs when using
--signcsr
or--showcsr
. Those will stop with message:Code L3434
I have done some debug and found you regex was too sharp.
in function
_readKeyLengthFromCSR()
Code L980You are grepping for
"^ *Public-Key:.*"
but the resulting output (in my case, openssl 0.9.8zh, Mac OSX) isRSA Public Key: (4096 bit)
without a minus betweenPublic Key
and there can be tabs as well as spaces in front.I changed you regex in Code L993 to:
Maybe you are interested in this.
Cheers
Tom
The text was updated successfully, but these errors were encountered: