Skip to content
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

Merged
merged 3 commits into from
Jun 22, 2024

Conversation

Zeckmathederg
Copy link
Contributor

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.

@xry111
Copy link
Member

xry111 commented Mar 14, 2024

Per openssl/openssl#22893 we can use -in /dev/stdin to silence the warning w/o introducing temporary file.

Copy link
Member

@xry111 xry111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

help2man Outdated Show resolved Hide resolved
Copy link
Member

@xry111 xry111 left a 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?

@xry111 xry111 requested a review from pierre-labastie March 14, 2024 07:50
@xry111 xry111 requested a review from renodr June 9, 2024 11:00
@xry111
Copy link
Member

xry111 commented Jun 9, 2024

I plan to merge this if there's no objection in a week.

@djlucas
Copy link
Member

djlucas commented Jun 9, 2024

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).

@Zeckmathederg
Copy link
Contributor Author

Should I add another commit to this PR addressing the statically named tempfile?

@xry111 xry111 merged commit 25252d2 into lfs-book:master Jun 22, 2024
@Zeckmathederg Zeckmathederg deleted the silence-openssl-warning branch June 22, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants