From 631f8a2d224a35491cc50ad1936f803a8823d9f6 Mon Sep 17 00:00:00 2001
From: Dustin Kirkland <kirkland@chainguard.dev>
Date: Sat, 22 Jun 2024 17:39:14 -0500
Subject: [PATCH] add the public key for the chainguard-private packages;
 probably needs a better file name in due course (#21800)

* add the public key for the chainguard-private packages; probably needs a
better file name in due course

* add chainguard keys

* removed latest key, no longer needed
---
 chainguard-keys.yaml                               |  8 +++-----
 ...93f1fec29fa864ba7e9754828eeceed3f487239.rsa.pub | 14 ++++++++++++++
 2 files changed, 17 insertions(+), 5 deletions(-)
 create mode 100644 chainguard-keys/chainguard-7fb528a64a862d44bbea6069093f1fec29fa864ba7e9754828eeceed3f487239.rsa.pub

diff --git a/chainguard-keys.yaml b/chainguard-keys.yaml
index b970b464472..a529686176f 100644
--- a/chainguard-keys.yaml
+++ b/chainguard-keys.yaml
@@ -1,6 +1,6 @@
 package:
   name: chainguard-keys
-  version: 1
+  version: 2
   epoch: 5
   description: "Chainguard public keys"
   copyright:
@@ -15,13 +15,11 @@ pipeline:
   - name: Install
     runs: |
       mkdir -p "${{targets.destdir}}"/etc/apk/keys
-      install -m644 chainguard-extras.rsa.pub "${{targets.destdir}}"/etc/apk/keys
-      install -m644 chainguard-enterprise.rsa.pub "${{targets.destdir}}"/etc/apk/keys
+      install -m644 *.pub "${{targets.destdir}}"/etc/apk/keys/
 
       for i in x86_64 aarch64; do
         mkdir -p "${{targets.destdir}}"/usr/share/apk/keys/${i}
-        install -m644 chainguard-extras.rsa.pub "${{targets.destdir}}"/usr/share/apk/keys/${i}/chainguard-extras.rsa.pub
-        install -m644 chainguard-enterprise.rsa.pub "${{targets.destdir}}"/usr/share/apk/keys/${i}/chainguard-enterprise.rsa.pub
+        install -m644 *.pub "${{targets.destdir}}"/usr/share/apk/keys/${i}/
       done
 
 update:
diff --git a/chainguard-keys/chainguard-7fb528a64a862d44bbea6069093f1fec29fa864ba7e9754828eeceed3f487239.rsa.pub b/chainguard-keys/chainguard-7fb528a64a862d44bbea6069093f1fec29fa864ba7e9754828eeceed3f487239.rsa.pub
new file mode 100644
index 00000000000..5befffe6b97
--- /dev/null
+++ b/chainguard-keys/chainguard-7fb528a64a862d44bbea6069093f1fec29fa864ba7e9754828eeceed3f487239.rsa.pub
@@ -0,0 +1,14 @@
+-----BEGIN PUBLIC KEY-----
+MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnuH20LnWxNl54a7mjSb5
+PmJssMelKeFQUDfzWZSTwCfFpBHRFq4KLWcUByqtmKphXLRMLjy0xR4xux7oh8n2
+CLP1NBt6d5skqaqHNFW24BO0ThrXUbwZ6jCAI0s2xSBaEPMea4Ipn2hmqZLwox6C
+qLGbEsbtRrkKXHva4jqFCX8h8ThwdQuKCEfr/nSk5IV+fn1Uoo8WK89cMUxlj1NB
+B5rdeJCcVaNlZTt2/Zw917BY+tjodWovbIGtqvnflOa5R28R+Q6bBh9oCDvkR6IU
+38NyT7szld5QgD9ebl5sNOFwk4mJdCNdi1wK9kSrBM7D8YEsStmawezpfvhwV55S
+QJpjuo6zJab25RAzcZoj+YhpBSl91QNRaKK3x5RlqW93tBCtpDjfpNqEHgyzHjc1
+4N46SQBU1NamkYBStTwMluc56lwmmWdKfnZXU0vULxQjCyBBeNSpsz8joyO60htD
+G52ieJ+NIqCEX7ikabWGCUfvAtEXDDDmo17JTyNSarziEfBImEtTOt8P93V6nRr7
+Dz1fWKQC1pv9eFn1aS2TK50hWEgKpB+lmTf/j8UGawAWHQFND1ndDqNaJnVP/DqR
+6dt7krjlrDVEGq4s3GJabYADKxh0vXt1J4gef07dfEtEa6Aj9hikVyv3bQMeqtMK
+k/o1spotQWzE9+rffQfaUl8CAwEAAQ==
+-----END PUBLIC KEY-----