[PATCH git-remote-gcrypt] replace deprecated keyring options
Andrew Kloet
andrew at kloet.net
Tue Jul 28 01:47:04 BST 2026
The option --secret-keyring has been deprecated. [1]
Replace the other options with --no-keyring (introduced in 2.1.14 [2])
[1] https://gnupg.org/documentation/manuals/gnupg/GPG-Configuration-Options.html
[2] https://lists.gnupg.org/pipermail/gnupg-announce/2016q3/000393.html
Signed-off-by: Andrew Kloet <andrew at kloet.net>
---
git-remote-gcrypt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/git-remote-gcrypt b/git-remote-gcrypt
index 7e7240f..67a5505 100755
--- a/git-remote-gcrypt
+++ b/git-remote-gcrypt
@@ -345,8 +345,7 @@ EOF
DECRYPT()
{
- rungpg -q --batch --no-default-keyring --secret-keyring /dev/null \
- --keyring /dev/null --passphrase-fd 3 -d 3<<EOF
+ rungpg -q --batch --no-keyring --passphrase-fd 3 -d 3<<EOF
$1
EOF
}
--
2.54.0
More information about the sgo-software-discuss
mailing list