mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-06-02 03:50:52 +02:00
DEHYDRATED_USER + --signcsr sends certificate output to stderr #527
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @taam on GitHub (Apr 16, 2021).
command_sign_csrfirst does some IO redirection, then callsinit_system, which might callsudo:https://github.com/dehydrated-io/dehydrated/blob/5c1551e946456f534cf46b6ebabe4353bf0b0530/dehydrated#L1762-L1767
Solution might be as easy as calling
init_systembefore doing the redirects, but I don't know the internals.@lukas2511 commented on GitHub (Apr 16, 2021):
Thx. I swapped the lines as suggested.
This will result in some informational messages being output to stdout as well, but that should be less of a problem as there was additional output before anyway and PEM format should ignore anything outside BEGIN/END blocks.