Skip to content

Instantly share code, notes, and snippets.

@trauber
Last active July 10, 2019 12:56
Show Gist options
  • Save trauber/0463d03446c7b893f8a2900a457bf42b to your computer and use it in GitHub Desktop.
Save trauber/0463d03446c7b893f8a2900a457bf42b to your computer and use it in GitHub Desktop.
Store Encrypted Gmail Pass in Mutt #e-mail #encryption #password

Create in ~/.mutt/pass with contents:

set my_pass = "password"

Encrypt the file:

gpg -e ~/.mutt/pass

Toward front of ~/.muttrc:

source "gpg -dq $HOME/.mutt/pass.gpg |"

Note the pipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment