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: Switch back to setting a placeholder HS256 secret #185

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

zhaofengli
Copy link
Owner

@zhaofengli zhaofengli commented Oct 8, 2024

Some people are using the NixOS module in this repo with an older atticd from nixpkgs (#184). Since the NixOS module sets a placeholder RS256 secret which the nixpkgs version doesn't support, config checking breaks.

We don't want to support such use case in general, but in this specific case I think setting a hardcoded HS256 secret is nicer than generating an RS256 keypair every time.


To reiterate, the NixOS module in this repo is coupled to the atticd version here and mixing the versions is unsupported. This PR happens to make it work for the moment, but it may very well break in the future.

@zhaofengli zhaofengli merged commit e5c8d2d into main Oct 10, 2024
26 checks passed
@zhaofengli zhaofengli deleted the nixos-use-hs256-placeholder-secret branch October 10, 2024 16:23
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.

2 participants