-
Notifications
You must be signed in to change notification settings - Fork 8
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
silenced openssl x509 warning using -in #30
silenced openssl x509 warning using -in #30
Conversation
Per openssl/openssl#22893 we can use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@pierre-labastie Ok for a squash-and-merge and a new release?
I plan to merge this if there's no objection in a week. |
The proposed fix looks good (assuming it works, have not tested). I wanted to comment on the first proposed fix and note that it revealed another error that probably needs to be addressed (statically named tempfile). |
Should I add another commit to this PR addressing the statically named tempfile? |
Using make-ca, I had the warning for each cert described in issue #29
I tried using -in but still having it be piped to the openssl x509 command to no avail, so I put the result of the printf(...) to awkinputfile.awktmp so it can be used as an input file and thus silences the warning.
Does this work at all, both in terms of functionality and how any of you maintainers feel?
Tested the commit with OpenSSL 3.2.0, compiled using the LFS instructions - no warning regarding stdin, -in, and -new for me.