Skip to content

Commit

Permalink
Update README with git-send-email example (gopasspw#74)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Gray <[email protected]>
  • Loading branch information
dngray committed Mar 28, 2024
1 parent 88d11d2 commit 7d32581
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7d32581

Please sign in to comment.