[neon/neon/kde-keyring/Neon/unstable] debian: make sure gpg home dir has appropriate permissions
Carlos De Maine
null at kde.org
Mon Aug 26 06:52:40 BST 2024
Git commit 230dd7e18665e91f5aaf197eb9d79c3f84ba5009 by Carlos De Maine.
Committed on 26/08/2024 at 05:52.
Pushed by carlosdem into branch 'Neon/unstable'.
make sure gpg home dir has appropriate permissions
M +5 -0 debian/rules
https://invent.kde.org/neon/neon/kde-keyring/-/commit/230dd7e18665e91f5aaf197eb9d79c3f84ba5009
diff --git a/debian/rules b/debian/rules
index 31de911..b3294c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,5 +6,10 @@
binary: build_kde_release_keyring
build_kde_release_keyring:
+ mkdir -p ~/.gnupg
+ chown -R root ~/.gnupg/
+ chmod 600 ~/.gnupg/*
+ chmod 700 ~/.gnupg
+
gpg --no-options --no-default-keyring --keyring ./kde-release-keyring.kbx --secret-keyring ./secring.gpg --import ./keys/*.asc
gpg --export --keyring ./kde-release-keyring.kbx --export-options export-minimal --armor > kde-release-keyring.asc
More information about the Neon-commits
mailing list