From f3427afc7fc7a0e67a8c78be24cba898a6bdba2e Mon Sep 17 00:00:00 2001 From: strawberry Date: Fri, 24 May 2024 16:55:38 -0400 Subject: [PATCH] nix: use new public keys for binary caches due to attic issues Signed-off-by: strawberry --- .github/workflows/ci.yml | 6 +++--- .github/workflows/documentation.yml | 4 ++-- .gitlab-ci.yml | 4 ++-- docs/deploying/nixos.md | 10 +++++++++- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66091573..5cc288aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,7 +81,7 @@ jobs: run: | sudo tee -a /etc/nix/nix.conf > /dev/null < /dev/null < /dev/null; then echo "extra-substituters = https://attic.kennel.juneis.dog/conduwuit" >> /etc/nix/nix.conf; fi - - if command -v nix > /dev/null; then echo "extra-trusted-public-keys = conduwuit:lYPVh7o1hLu1idH4Xt2QHaRa49WRGSAqzcfFd94aOTw=" >> /etc/nix/nix.conf; fi + - if command -v nix > /dev/null; then echo "extra-trusted-public-keys = conduwuit:BbycGUgTISsltcmH0qNjFR9dbrQNYgdIAcmViSGoVTE=" >> /etc/nix/nix.conf; fi - if command -v nix > /dev/null; then echo "extra-substituters = https://attic.kennel.juneis.dog/conduit" >> /etc/nix/nix.conf; fi - - if command -v nix > /dev/null; then echo "extra-trusted-public-keys = conduit:Isq8FGyEC6FOXH6nD+BOeAA+bKp6X6UIbupSlGEPuOg=" >> /etc/nix/nix.conf; fi + - if command -v nix > /dev/null; then echo "extra-trusted-public-keys = conduit:eEKoUwlQGDdYmAI/Q/0slVlegqh/QmAvQd7HBSm21Wk=" >> /etc/nix/nix.conf; fi # Add alternate binary cache - if command -v nix > /dev/null && [ -n "$ATTIC_ENDPOINT" ]; then echo "extra-substituters = $ATTIC_ENDPOINT" >> /etc/nix/nix.conf; fi diff --git a/docs/deploying/nixos.md b/docs/deploying/nixos.md index 6074e2a7..59f95900 100644 --- a/docs/deploying/nixos.md +++ b/docs/deploying/nixos.md @@ -10,9 +10,17 @@ A binary cache for conduwuit that the CI/CD publishes to is available at the following places (both are the same just different names): ``` https://attic.kennel.juneis.dog/conduit -conduit:Isq8FGyEC6FOXH6nD+BOeAA+bKp6X6UIbupSlGEPuOg= +conduit:eEKoUwlQGDdYmAI/Q/0slVlegqh/QmAvQd7HBSm21Wk= https://attic.kennel.juneis.dog/conduwuit +conduwuit:BbycGUgTISsltcmH0qNjFR9dbrQNYgdIAcmViSGoVTE= +``` + +The binary caches have been recreated recently due to attic issues. The old public keys were: + +``` +conduit:Isq8FGyEC6FOXH6nD+BOeAA+bKp6X6UIbupSlGEPuOg= + conduwuit:lYPVh7o1hLu1idH4Xt2QHaRa49WRGSAqzcfFd94aOTw= ```