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

ipmi::user: Mask passwords #70

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Conversation

b4ldr
Copy link
Contributor

@b4ldr b4ldr commented Jan 3, 2024

If an exec command fails, then the entire command including passwords is included in the output.

The CR updates the commands that have a password to be Sensitive, ensuring they are redacted from output and logs.

@jhoblitt
Copy link
Owner

jhoblitt commented Jan 3, 2024

I think it would be better to move the passphrase to an env var. That would both prevent it from being logged and exposed in the process table.

@b4ldr
Copy link
Contributor Author

b4ldr commented Jan 4, 2024

@jhoblitt updated thanks for the suggestion

If an exec command fails then the entire command including passwords is
included in the output.

The CR updates the commands that have a password to be Sensitive
ensuring the are redacted from output and logs.
@jhoblitt
Copy link
Owner

jhoblitt commented Jan 4, 2024

Maybe try running the lint_fix rake target?

@b4ldr
Copy link
Contributor Author

b4ldr commented Jan 5, 2024

@jhoblitt updated

@b4ldr
Copy link
Contributor Author

b4ldr commented Jan 16, 2024

@jhoblitt wonder if I could get this merged and released? Thanks

@jhoblitt jhoblitt merged commit 8f73daf into jhoblitt:master Jan 16, 2024
27 checks passed
@jhoblitt
Copy link
Owner

Yes, this slipped off my radar. Thank you for contributing.

@jhoblitt
Copy link
Owner

This will be released in #72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants