------------------------------------------------------------------------------------- / _ \ \_\(_)/_/ _//"\\_ JOHLEM.net / \ https://johlem.net/V1/topics/cheatsheet.php ------------------------------------------------------------------------------------- --- NEOMUTT CHEATSHEET #Mutt: how to safely store password? Create a passwords file: ~/.mutt/passwords: set imap_pass="password" set smtp_pass="password" This file can be encrypted using GPG. First, create a public/private key pair: $ gpg --gen-key Encrypt the passwords file: $ gpg -r your.email@example.com -e ~/.mutt/passwords $ ls ~/.mutt/passwords* /home/user/.mutt/passwords /home/user/.mutt/passwords.gpg $ shred ~/.mutt/passwords $ rm ~/.mutt/passwords