From dc3905e12f497e846dff7ab6345b0c90d3fab22f Mon Sep 17 00:00:00 2001 From: cashmere Date: Sat, 11 Jul 2026 14:22:20 +0200 Subject: security/pinentry-emacs: add custom pinentry-emacs port --- security/pinentry-emacs/files/patch-pinentry-emacs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 security/pinentry-emacs/files/patch-pinentry-emacs (limited to 'security/pinentry-emacs/files') diff --git a/security/pinentry-emacs/files/patch-pinentry-emacs b/security/pinentry-emacs/files/patch-pinentry-emacs new file mode 100644 index 0000000..923dec5 --- /dev/null +++ b/security/pinentry-emacs/files/patch-pinentry-emacs @@ -0,0 +1,12 @@ +--- pinentry-emacs.orig 2026-07-11 14:01:00 UTC ++++ pinentry-emacs +@@ -31,7 +31,8 @@ + RES=$(emacsclient -e "(pinentry-emacs \"$DESC\" \"$PROMPT\" \"$OK\" \"$ERROR\")" | sed -e 's/^"//' -e 's/"$//') + if [ $? -ne 0 ] + then +- RES=$(lukspinentry) ++ echo ERR 83886179 Operation cancelled ++ exit 1 + fi + echo D $RES + echo OK -- cgit v1.3.1