Add pgp to neomutt
This commit is contained in:
parent
60a502d2c8
commit
ea72955456
@ -21,3 +21,5 @@ set record = "+Sent"
|
|||||||
set from = "nicolas@jombi.fr"
|
set from = "nicolas@jombi.fr"
|
||||||
set sendmail = "/usr/bin/msmtp -C $XDG_CONFIG_HOME/msmtp/msmtprc -a jombi"
|
set sendmail = "/usr/bin/msmtp -C $XDG_CONFIG_HOME/msmtp/msmtprc -a jombi"
|
||||||
set sendmail_wait = 0
|
set sendmail_wait = 0
|
||||||
|
|
||||||
|
set pgp_default_key =0xB7DF154B
|
||||||
|
@ -72,7 +72,7 @@ bind index G last-entry
|
|||||||
macro index gf <change-folder>?
|
macro index gf <change-folder>?
|
||||||
macro index gi <change-folder><kill-line>=INBOX<Enter>
|
macro index gi <change-folder><kill-line>=INBOX<Enter>
|
||||||
|
|
||||||
bind index J next-entry
|
bind index j next-entry
|
||||||
bind index k previous-entry
|
bind index k previous-entry
|
||||||
|
|
||||||
bind index cc copy-message
|
bind index cc copy-message
|
||||||
|
@ -15,6 +15,7 @@ source $XDG_CONFIG_HOME/neomutt/index
|
|||||||
source $XDG_CONFIG_HOME/neomutt/pager
|
source $XDG_CONFIG_HOME/neomutt/pager
|
||||||
source $XDG_CONFIG_HOME/neomutt/compose
|
source $XDG_CONFIG_HOME/neomutt/compose
|
||||||
source $XDG_CONFIG_HOME/neomutt/keybinding
|
source $XDG_CONFIG_HOME/neomutt/keybinding
|
||||||
|
source $XDG_CONFIG_HOME/neomutt/pgp
|
||||||
|
|
||||||
#Basic options --------------------------------------
|
#Basic options --------------------------------------
|
||||||
unset help
|
unset help
|
||||||
|
16
user/neomutt/.config/neomutt/pgp
Normal file
16
user/neomutt/.config/neomutt/pgp
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
set crypt_use_gpgme = yes
|
||||||
|
|
||||||
|
set crypt_replysign = yes
|
||||||
|
set crypt_replyencrypt = yes
|
||||||
|
set crypt_replysignencrypted = yes
|
||||||
|
|
||||||
|
set crypt_verify_sig = yes
|
||||||
|
|
||||||
|
set pgp_decode_command="gpg2 %?p?--passphrase- 0? --no-verbose --batch --output - %f"
|
||||||
|
set pgp_verify_command="gpg2 --no-verbose --batch --output - --verify %s %f"
|
||||||
|
set pgp_decrypt_command="gpg2 --passphrase- 0 --no-verbose --batch --output - %f"
|
||||||
|
set pgp_sign_command="gpg2 --no-verbose --batch --output - --passphrase- 0 --armor --detach-sign --textmode %?a?-u %a? %f"
|
||||||
|
set pgp_clearsign_command="gpg2 --no-verbose --batch --output - --passphrase- 0 --armor --textmode --clearsign %?a?-u %a? %f"
|
||||||
|
|
||||||
|
#set pgp_encrypt_only_command="/usr/lib/neomutt/pgpewrap gpg2 --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to VOTRE_ID -- -r %r -- %f"
|
||||||
|
#set pgp_encrypt_sign_command="/usr/lib/neomutt/pgpewrap gpg2 --passphrase- 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to VOTRE_ID -- -r %r -- %f"
|
Loading…
x
Reference in New Issue
Block a user