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

.erlang.cookie template is not marked as sensitive #465

Closed
smekalayahoo opened this issue Oct 18, 2017 · 7 comments
Closed

.erlang.cookie template is not marked as sensitive #465

smekalayahoo opened this issue Oct 18, 2017 · 7 comments
Labels

Comments

@smekalayahoo
Copy link
Contributor

The recipe doesnot mark the file as sensitive which logs the contents of the .erlang.cookie.

Since the .erlang.cookie is a secret shared by the nodes in a cluster, it should be marked as sensitive.

@michaelklishin
Copy link
Member

@smekalayahoo how do you suggest that the file is marked as sensitive? It has UNIX permissions of 0400. What is missing?

@smekalayahoo
Copy link
Contributor Author

Right now, when we execute the recipe we find the .erlang.cookie value being logged in plain text.
The below PR should prevent the value from being logged in clear text.
#466

@michaelklishin
Copy link
Member

Ah, so it's a Chef's file resource property. Makes sense!

@michaelklishin
Copy link
Member

Thank you, #466 is in.

@smekalayahoo
Copy link
Contributor Author

@michaelklishin Thanks, This was pretty fast

@michaelklishin
Copy link
Member

@jjasghar do you think we can roll out a patch release with this? :)

@jjasghar
Copy link
Contributor

Yep!

I'll get it out today.

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

3 participants