From 34c79384d55c746aa64a795402218c2f08120947 Mon Sep 17 00:00:00 2001 From: gabrix73 Date: Wed, 3 Jun 2026 02:13:45 +0200 Subject: fix: use pinentry/zenity for YubiKey PIN prompt in non-interactive contexts Added yubisigner-with-pinentry wrapper that handles PIN entry via: - zenity (GUI popup, primary method) - pinentry-qt (Qt GUI fallback) - pinentry-curses (TUI fallback) - /dev/tty direct read (last resort) This fixes PIN prompt failing when vim-yubisigner is called from NeoMutt, where fmt.Scanln() in yubisigner-cli cannot capture stdin properly. Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- accounts/mail2news | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accounts/mail2news') diff --git a/accounts/mail2news b/accounts/mail2news index 3181f92..89c71d9 100644 --- a/accounts/mail2news +++ b/accounts/mail2news @@ -19,6 +19,6 @@ my_hdr X-Mailer: NeoMutt mail2news my_hdr X-PGP-Key: https://contact.virebent.art/.well-known/openpgpkey/gabvirebent.asc # YubiSigner: Firma automatica con YubiKey PIV Ed25519 tramite editor wrapper -set editor = "/home/gabriel1/bin/vim-yubisigner" +set editor = "$HOME/Projects/neomutt-config/scripts/vim-yubisigner" color status black white -- cgit v1.2.3