[pve-devel] [PATCH manager 2/2] apl: make keyring generation output keys as binary again

Shannon Sterz s.sterz at proxmox.com
Tue Jul 22 14:36:58 CEST 2025


sequioa dropped the `--binary` flag for keyring generation and only
outputs ascii armored keyrings. so make it dearmor the key afterward
to keep the key format consistent with the file ending (".gpg") again.

Signed-off-by: Shannon Sterz <s.sterz at proxmox.com>
---
 aplinfo/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/aplinfo/Makefile b/aplinfo/Makefile
index 1c6b61505..17d61ca74 100644
--- a/aplinfo/Makefile
+++ b/aplinfo/Makefile
@@ -20,7 +20,9 @@ update:
 	mv aplinfo.dat.tmp aplinfo.dat
 
 trustedkeys.gpg: $(TRUSTED_KEYS)
-	sq keyring merge --output $@.tmp $(TRUSTED_KEYS)
+	sq keyring merge --output $(basename $@).asc.tmp $(TRUSTED_KEYS)
+	sq packet dearmor $(basename $@).asc.tmp --output $@.tmp
+	rm $(basename $@).asc.tmp
 	mv $@.tmp $@
 
 .PHONY: clean
-- 
2.47.2





More information about the pve-devel mailing list