[neon/ubuntu-core/ci-prototype] debian: verify key later

Carlos De Maine null at kde.org
Tue Apr 30 05:37:44 BST 2024


Git commit d013b24c6d8bec3eed8d6eac3ea2b3f31c820c6f by Carlos De Maine.
Committed on 30/04/2024 at 04:37.
Pushed by carlosdem into branch 'ci-prototype'.

verify key later

M  +3    -2    debian/snap-image-dangerous-proto.yml

https://invent.kde.org/neon/ubuntu-core/-/commit/d013b24c6d8bec3eed8d6eac3ea2b3f31c820c6f

diff --git a/debian/snap-image-dangerous-proto.yml b/debian/snap-image-dangerous-proto.yml
index e82a73f..759f6f1 100644
--- a/debian/snap-image-dangerous-proto.yml
+++ b/debian/snap-image-dangerous-proto.yml
@@ -12,8 +12,9 @@ snap_image_dangerous:
     - export GNUPGHOME=/home/snaptester/.snap/
     - echo $GNUPGHOME
     - gpg --list-keys
-    - echo -e $PRIVATE_KEY | gpg --batch --pinentry-mode loopback --passphrase-fd 0 --import
-    - echo -e $OWNER_TRUST | gpg --import-ownertrust    
+    - gpg --batch --import <(echo "$PRIVATE_KEY")
+    #- gpg --batch --pinentry-mode loopback --passphrase-fd 0 --import <(echo "$PRIVATE_KEY")
+    - gpg --import-ownertrust <(echo "$OWNER_TRUST")  
     #- cat <<< "$PRIVATE_KEY" > ~/new_file
     #- echo -e $PRIVATE_KEY | gpg --homedir ~/.snap/gnupg --import
     - snapcraft whoami


More information about the Neon-commits mailing list