You are not logged in.
Hello ,
pinentry-curses prompt for passphrase in console when I start mutt on Xsession but when start offlineimap before mutt from terminal pinentry works just fine and asks for passphrase in my Xsession display, and adding
gpg-connect-agent updatestartuptty /bye >/dev/null to .zshenv, .zshrc, or .zprofile does not solve the issue.
here are my gpg related config files
cat ~/.zshenv
ZDOTDIR="${ZDOTDIR:-$HOME/.zsh}"
export LC_ALL=
export LC_COLLATE="C"
export EDITOR="vim"
export VISUAL="$EDITOR"
export PAGER="less"
export GPG_TTY=$(tty)
export GPGKEY="94F129EC"cat ~/.gnupg/gpg.conf
no-greeting
keyserver hkp://keys.gnupg.netadding
use-agent
keep-tty
keep-displaydoes not work.
cat ~/.gnupg/gpg-agent.conf
max-cache-ttl 60480000
default-cache-ttl 60480000
pinentry-program /usr/bin/pinentry-cursescat ~/.mutt/gpg.rc
set pgp_sign_as = 94F129EC
set pgp_timeout = 3600
set pgp_good_sign="^gpgv?: Good signature from "
set crypt_use_gpgme = yes
set crypt_autosign = No
set crypt_replysign = yes
set crypt_replyencrypt = yes
set crypt_replysignencrypted = yes
set crypt_verify_sig = yesadding
set pgp_use_gpg_agent = yes does not work
cat ~/.mutt/muttrc
set my_msmtp_pass = `gpg -d ~/.gmail-pass.gpg`
set sendmail = /usr/bin/msmtp
source ~/.mutt/gpg.rcany suggestions?
Thanks a lot
Solved by removing
export GPG_TTY=$(tty) from .zshenv.
Last edited by W_KIWAN (2018-06-26 21:20:54)
Offline