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

nixos.NixOSModule: Mark generated context file as sensitive data #168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

frlan
Copy link
Member

@frlan frlan commented May 2, 2024

This file might contain secrets and we should ensure aside from batou's core detection to don't show it inside CI logs.

Fixes #167

@frlan frlan requested a review from zagy May 2, 2024 11:27
@zagy
Copy link
Member

zagy commented May 8, 2024

@frlan Hum. Frankly … if it contains sensitive content there is something wrong in the first place. This all ends up world-readable in the nix-store anyway.

@frlan
Copy link
Member Author

frlan commented May 8, 2024

@frlan Hum. Frankly … if it contains sensitive content there is something wrong in the first place. This all ends up world-readable in the nix-store anyway.

Having it in nix store is one thing (already not really good), but having it e.g. on github actions log is another thing. I don't want to see any password (even for a part of a chance) inside my ci log.

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

Successfully merging this pull request may close these issues.

nixos.NixOSModules: Mark generated_context.nix as sensitve
2 participants