[neon/infrastructure/pangea-data] imager/config-hooks-neon: install the key

Carlos De Maine null at kde.org
Fri Aug 16 13:36:37 BST 2024


Git commit d9b1abea09521f9388877d0e0b5b78cf15ba67f6 by Carlos De Maine.
Committed on 16/08/2024 at 12:36.
Pushed by carlosdem into branch 'master'.

install the key

M  +2    -0    imager/config-hooks-neon/repo.sh

https://invent.kde.org/neon/infrastructure/pangea-data/-/commit/d9b1abea09521f9388877d0e0b5b78cf15ba67f6

diff --git a/imager/config-hooks-neon/repo.sh b/imager/config-hooks-neon/repo.sh
index daab24f..d0f6879 100644
--- a/imager/config-hooks-neon/repo.sh
+++ b/imager/config-hooks-neon/repo.sh
@@ -28,9 +28,11 @@ apt install -y curl
 
   # use this hack until new neon-keyring is in the wild, then we can use cp down below
   mkdir -p /etc/apt/keyring
+  chmod 700 ~/.gnupg
   curl -s --compressed "https://invent.kde.org/neon/neon/keyring/-/raw/work/overhaul/keyrings/neon-archive-keyring.gpg?ref_type=heads&inline=false" |  tee /etc/apt/keyring/neon-archive-keyring-web.gpg >/dev/null
   gpg --no-default-keyring --export-options export-minimal --keyring /etc/apt/keyring/neon-archive-keyring-web.gpg --output /etc/apt/keyring/neon-archive-keyring.gpg --export 444DABCF3667D0283F894EDDE6D4736255751E5D
   gpg --export --keyring /etc/apt/keyring/neon-archive-keyring.gpg --export-options export-minimal --armor > /etc/apt/keyring/neon-archive-keyring.asc
+  gpg --import /etc/apt/keyring/neon-archive-keyring.gpg --keyring /root/.gnupg/pubring.kbx
 
   # cp our non-armoured (binary) public key to where it needs to be
   mkdir  -p config/archives/keyring/


More information about the Neon-commits mailing list