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.st...@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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to