From c544c0322f02096bda84ef529ae31121295732b8 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Fri, 18 Oct 2019 13:09:22 +0200 Subject: [PATCH] Added explicit paths to make things work --- mutt/.config/mutt/gpg.rc | 8 ++++---- mutt/.mbsyncrc | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/mutt/.config/mutt/gpg.rc b/mutt/.config/mutt/gpg.rc index 3392038..5cb33ff 100644 --- a/mutt/.config/mutt/gpg.rc +++ b/mutt/.config/mutt/gpg.rc @@ -46,12 +46,12 @@ set pgp_sign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphra set pgp_clearsign_command="gpg --no-verbose --batch --quiet --output - %?p?--passphrase-fd 0? --armor --textmode --clearsign %?a?-u %a? %f" # create a pgp/mime encrypted attachment -# set pgp_encrypt_only_command="pgpewrap gpg-2comp -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" -set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" +# set pgp_encrypt_only_command="/usr/lib/neomutt/pgpewrap gpg-2comp -v --batch --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" +set pgp_encrypt_only_command="/usr/lib/neomutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f" # create a pgp/mime encrypted and signed attachment -# set pgp_encrypt_sign_command="pgpewrap gpg-2comp %?p?--passphrase-fd 0? -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" -set pgp_encrypt_sign_command="pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" +# set pgp_encrypt_sign_command="/usr/lib/neomutt/pgpewrap gpg-2comp %?p?--passphrase-fd 0? -v --batch --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" +set pgp_encrypt_sign_command="/usr/lib/neomutt/pgpewrap gpg %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" # import a key into the public key ring set pgp_import_command="gpg --no-verbose --import %f" diff --git a/mutt/.mbsyncrc b/mutt/.mbsyncrc index fe64190..dabfd55 100644 --- a/mutt/.mbsyncrc +++ b/mutt/.mbsyncrc @@ -6,7 +6,7 @@ IMAPStore ryankes-remote Host imap.mailbox.org Port 993 User ryan@ryankes.eu -PassCmd "getpassword ryankes" +PassCmd "~/.local/bin/getpassword ryankes" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt @@ -29,7 +29,7 @@ IMAPStore gmail-remote Host imap.gmail.com Port 993 User alrayyes@gmail.com -PassCmd "getpassword gmail" +PassCmd "~/.local/bin/getpassword gmail" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt @@ -78,7 +78,7 @@ IMAPStore andthensome-remote Host imap.gmail.com Port 993 User ryan@andthensome.nl -PassCmd "getpassword andthensome" +PassCmd "~/.local/bin/getpassword andthensome" SSLType IMAPS CertificateFile /etc/ssl/certs/ca-certificates.crt