-
Notifications
You must be signed in to change notification settings - Fork 1
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
auth-wrapper: add AUTH_WRAPPER_QUIET env support #6
Conversation
cmd/authwrapper/setup.go
Outdated
@@ -30,6 +30,7 @@ type Config struct { | |||
SSHCaAuthorizedKeysPath string | |||
SSHSigningServerAddress string | |||
SSHAgentSocket string | |||
AuthWrapperQuiet string |
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.
Should be a Boolean value
docs/auth-wrapper.md
Outdated
@@ -0,0 +1,13 @@ | |||
# Usage Examples |
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.
Move this to main readme
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Moved it |
Going to be used in device-debug tools since we just want the output (and exit code is tranmitted normally).
People around the office are getting
agent 27: ssh: parse error in message type 27
everytime we call auth-wrapper. And i can't figure out how to debug it since i getrunCommandWithSSHAgent: cmd.Start: exec: "ssh support@192.168.7.1 'echo hello'": executable file not found in $PATH
when running with debugger / a local compile. (And i don't really know Go enough for :D)Would be nice to get the last error silenced as well.