mlabs-haskell / plutip

A Cardano tool to spin up a testnet and run contracts with an EDSL to describe the instructions. Rhymes with tulip for no particular reason.
Apache License 2.0
55 stars 24 forks source link

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

Open spirals2 opened 1 year ago

spirals2 commented 1 year ago

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 commented 5 months ago

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.