diff --git a/README.md b/README.md index 91a9d4e..821d37d 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,14 @@ git-credential-gopass configure --local --store=ci-team This puts the value in front of the Gopass search path. +#### Using with SMTP + +If you want to use this with [`git-send-email`](https://git-scm.com/docs/git-send-email) you'll need to: + +1. [Set Git Credential Helper](#set-git-credential-helper) +2. Put your secret (encrypted) in `.../gopass/stores/root/git/example.com_465/username.gpg`. It is important that the host, top level domain, port and username are there. +3. Include an [`[sendemail]`](https://git-scm.com/docs/git-send-email#_examples) in your `.gitconfig` or alternatively `.git/config`. Remember to prefer `smtpEncryption = ssl` and `smtpServerPort = 465` if your provider supports [implicit TLS](https://git-scm.com/docs/git-send-email#Documentation/git-send-email.txt---smtp-encryptionltencryptiongt). + [Gopass]: https://github.com/gopasspw/gopass [releases]: https://github.com/gopasspw/git-credential-gopass/releases [git credentials]: https://git-scm.com/docs/gitcredentials