-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Getting "secret key is corrupt" on most commands #45339
Comments
cc @edolstra |
What does your |
Gahh forgot that some keys were there. Looks like at some point my nix.conf lost a line and so it became
instead of
Thanks for the replies! Feel free to resolve this however you want. |
Glad you found the cause of your problem. Closing as not-a-bug. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/error-secret-key-is-corrupt-when-building-flake/40440/2 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/error-secret-key-is-corrupt-when-building-flake/40440/3 |
Issue description
It seems like any command that tries to fetch a cached binary is failing with:
error: secret key is corrupt
Steps to reproduce
Not sure how I get into this state but current behavior is:
Technical details
nix-shell -p nix-info --run "nix-info -m"
actually fails too:but I have:
and
and I'm on OSX 10.13.4. Is there any way to regenerate the secret key used by nix or something? I don't even know where stuff like that is stored.
The text was updated successfully, but these errors were encountered: