728880e Disable warning when reading CSRs from stdin.
📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝dehydrated (+3 -3)
📄 Description
Coming across the same warning that was reported in PR#929 this is my attempt to disable
this warning. Instead of discarding stderr in total (this can still be
useful), we just use the "-in" parameter as hinted in the warning:
$ foo=$(cat req.csr)
$ <<<{foo} openssl req -noout -verify > /dev/null; echo ?
Warning: Will read cert request from stdin since no -in option is given
0
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/dehydrated-io/dehydrated/pull/940
**Author:** [@ckujau](https://github.com/ckujau)
**Created:** 7/15/2024
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `bugfix/disable-stdin-warnings`
---
### 📝 Commits (1)
- [`728880e`](https://github.com/dehydrated-io/dehydrated/commit/728880ec2732ee2afdbc711c45402efdcd2a6728) Disable warning when reading CSRs from stdin.
### 📊 Changes
**1 file changed** (+3 additions, -3 deletions)
<details>
<summary>View changed files</summary>
📝 `dehydrated` (+3 -3)
</details>
### 📄 Description
Coming across the same warning that was reported in
[PR#929](https://github.com/dehydrated-io/dehydrated/pull/929 "Suppress
openssl warning about reading from stdin") this is my attempt to disable
this warning. Instead of discarding stderr in total (this can still be
useful), we just use the "-in" parameter as hinted in the warning:
$ foo=$(cat req.csr)
$ <<<${foo} openssl req -noout -verify > /dev/null; echo $?
Warning: Will read cert request from stdin since no -in option is given
0
$ <<<${foo} openssl req -in - -noout -verify > /dev/null; echo $?
0
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dehydrated-io/dehydrated/pull/940
Author: @ckujau
Created: 7/15/2024
Status: ❌ Closed
Base:
master← Head:bugfix/disable-stdin-warnings📝 Commits (1)
728880eDisable warning when reading CSRs from stdin.📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
dehydrated(+3 -3)📄 Description
Coming across the same warning that was reported in
PR#929 this is my attempt to disable
this warning. Instead of discarding stderr in total (this can still be
useful), we just use the "-in" parameter as hinted in the warning:
$ foo=$(cat req.csr)
$ <<<
{foo} openssl req -noout -verify > /dev/null; echo?Warning: Will read cert request from stdin since no -in option is given
0
$ <<<
{foo} openssl req -in - -noout -verify > /dev/null; echo?0
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.