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

'https://cache.iog.io' is not signed by any of the keys in 'trusted-public-keys #168

Open
spirals2 opened this issue Dec 27, 2022 · 1 comment

Comments

@spirals2
Copy link

I run into issues when running nix develop where it seems a lot nix paths have issues like:
warning: the substitute for '/nix/store/9gby2vh0xbz435pdx5scd0rlsd03y1im-czipwith-1.0.1.4-1.cabal' from 'https://cache.iog.io' is not signed by any of the keys in 'trusted-public-keys'

Similar issues seem to be reported here: https://discourse.nixos.org/t/whats-the-trusted-public-key-for-cache-iog-io/23806

In my nix conf I have:

substituters = https://cache.nixos.org https://nix-tools.cachix.org https://cache.nixos.org/ https://cache.iog.io https://all-hies.cachix.org https://haskell-language-server.cachix.org https://public-plutonomicon.cachix.org https://iohk.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-tools.cachix.org-1:ebBEBZLogLxcCvipq2MTvuHlP7ZRdkazFSQsbs0Px1A= cache.iog.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= all-hies.cachix.org-1:JjrzAOEUsD9ZMt8fdFbzo3jNAyEWlPAwdVuHw4RD43k= haskell-language-server.cachix.org-1:juFfHrwkOxqIOZShtC4YC1uT1bBcq2RSvC7OMKx0Nz8= public-plutonomicon.cachix.org-1:3AKJMhCLn32gri1drGuaZmFrmnue+KkKrhhubQk/CWc= iohk.cachix.org-1:DpRUyj7h7V830dp/i6Nti+NEO2/nhblbov/8MW7Rqoo=
extra-experimental-features = nix-command flakes ca-derivations
@zzantares
Copy link

you should use hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= instead of cache.iog.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= even though https://cache.iog.io is used in the substituters attribute. See https://input-output-hk.github.io/haskell.nix/tutorials/getting-started#setting-up-the-binary-cache.

Also just to note that you have https://cache.nixos.org twice listed in your substituters you might want to remove duplicates.

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

No branches or pull requests

2 participants