You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for step certificate inspect states that:
step certificate inspect prints the details of a certificate or CSR in a human readable format. Output from the inspect command is printed to STDERR instead of STDOUT. This is an intentional barrier to accidental misuse: scripts should never rely on the contents of an unvalidated certificate. For scripting purposes, use step certificate verify.
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered:
Steps to Reproduce
The documentation for
step certificate inspect
states that:Source: https://smallstep.com/docs/step-cli/reference/certificate/inspect/
However, when running
step certificate inspect
on my own machine, it seems to output to stdout, regardless of what output--format
I use.Steps to reproduce:
step-cli certificate inspect ca.crt 2> stderr 1> stdout
Shell example:
Is this a case of outdated documentation or is ìnspect` still supposed to output to STDERR?
Your Environment
OS: Arch Linux
Shell: Bash (also tested with ZSH)
Step:
Smallstep CLI/0.25.0 (linux/amd64)
Release Date: 2023-09-27
Expected Behavior
See above
Actual Behavior
See above
Additional Context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: