aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authordrduh <github@duh.to>2020-12-25 12:48:49 -0800
committerGitHub <noreply@github.com>2020-12-25 12:48:49 -0800
commit2c55c55c7a497b7cb356c254bde227858aa28ca6 (patch)
tree7ad88db9718094a1e6b10c907798b47dd4b8fd5b /README.md
parentMerge pull request #218 from DevSecNinja/devsecninja/addPowerShellCommand (diff)
parentChange format of important notes in mutt subsection (diff)
downloadYubiKey-Guide-2c55c55c7a497b7cb356c254bde227858aa28ca6.tar.gz
Merge pull request #224 from ZenithalHourlyRate/mutt-email
Add Mutt email client gpg config and Some note when configuring
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 47f5c0b..e26b7be 100644
--- a/README.md
+++ b/README.md
@@ -68,6 +68,7 @@ If you have a comment or suggestion, please open an [Issue](https://github.com/d
- [Require touch](#require-touch)
- [Email](#email)
* [Mailvelope on macOS](#mailvelope-on-macos)
+ * [Mutt](#mutt)
- [Reset](#reset)
- [Notes](#notes)
- [Troubleshooting](#troubleshooting)
@@ -2365,7 +2366,7 @@ YubiKey will blink when it is waiting for a touch. On Linux you can also use [yu
# Email
-GPG keys on YubiKey can be used with ease to encrypt and/or sign emails and attachments using [Thunderbird](https://www.thunderbird.net/) and [Enigmail](https://www.enigmail.net). Thunderbird supports OAuth 2 authentication and can be used with Gmail. See [this guide](https://ssd.eff.org/en/module/how-use-pgp-linux) from EFF for detailed instructions.
+GPG keys on YubiKey can be used with ease to encrypt and/or sign emails and attachments using [Thunderbird](https://www.thunderbird.net/), [Enigmail](https://www.enigmail.net) and [Mutt](http://www.mutt.org/). Thunderbird supports OAuth 2 authentication and can be used with Gmail. See [this guide](https://ssd.eff.org/en/module/how-use-pgp-linux) from EFF for detailed instructions. Mutt has OAuth 2 support since version 2.0.
## Mailvelope on macOS
@@ -2401,6 +2402,14 @@ $ sudo launchctl config user path /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Finally, install the [Mailvelope extension](https://chrome.google.com/webstore/detail/mailvelope/kajibbejlbohfaggdiogboambcijhkke) from the Chrome app store.
+## Mutt
+
+Mutt has both CLI and TUI interfaces, and the latter provides powerful functions for daily email processing. In addition, PGP can be integrated such that signing/encryption/verifying/decryption can be done without leaving TUI.
+
+To enable GnuPG support, one can just use the config file `gpg.rc` provided by mutt, usually located at `/usr/share/doc/mutt/samples/gpg.rc` after installation. One only needs to edit the file on options like `pgp_default_key`, `pgp_sign_as` and `pgp_autosign`. After editting one can `source` this rcfile in their main `muttrc` to use it.
+
+**Important** If one uses `pinentry-tty` as one's pinentry program in `gpg-agent.conf`, it would mess with one's Mutt TUI, as reported. This is because Mutt TUI uses curses while tty output may harm the format. It is recommended to use `pinentry-curses` or other graphic pinentry program.
+
# Reset
If PIN attempts are exceeded, the card is locked and must be [reset](https://developers.yubico.com/ykneo-openpgp/ResetApplet.html) and set up again using the encrypted backup.