From a5ff704d071f14b95b6b1fa0caa8cdbf0c6cdadb Mon Sep 17 00:00:00 2001
From: Andrew Kloet <andrew@kloet.net>
Date: Mon, 27 Jul 2026 19:29:08 -0400
Subject: [PATCH] replace deprecated keyring options

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

