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

Posgresql user password appears in clear in capistrano.log #55

Closed
turgu1 opened this issue Jun 6, 2018 · 6 comments
Closed

Posgresql user password appears in clear in capistrano.log #55

turgu1 opened this issue Jun 6, 2018 · 6 comments
Assignees
Labels

Comments

@turgu1
Copy link

turgu1 commented Jun 6, 2018

When a new user is created in the postgresql database, the password appears in clear in the log file and at the screen during deployment. It would be better to hide it as it could be considered a security breach if someone get access to the log file or looking at the screen over the shoulder.

It think this is a feature to be added in the future. Or a new parameter that can request hiding the create user command from the log. A warning in the readme file would also be appropriate. My 2 cents...

Guy

@NorseGaud
Copy link
Member

Yep, I agree. It's a consequence of using the new execute instead of the test command. Curious what others think about this too.

@NorseGaud
Copy link
Member

Feature request to wrap a section of execute's arguments to hide them in the STDOUT and logs: capistrano/sshkit#429

@NorseGaud
Copy link
Member

Submitted capistrano/sshkit#430 for review of the feature

@NorseGaud
Copy link
Member

So close to getting this feature into sshkit. Once it's in, I'll release 5.1.0 with the feature.

@NorseGaud
Copy link
Member

capistrano/sshkit#430 merged into master. Waiting on next release sometime next week.

@NorseGaud NorseGaud self-assigned this Jul 8, 2018
@NorseGaud
Copy link
Member

Part of 6.0.0. Please let me know if you see any bugs!

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

No branches or pull requests

2 participants