summaryrefslogtreecommitdiff
path: root/security/pinentry-emacs/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/pinentry-emacs/files')
-rw-r--r--security/pinentry-emacs/files/patch-pinentry-emacs12
1 files changed, 12 insertions, 0 deletions
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