83e0e2638d
Parse the Authentication-Results header and display it in the message viewer (not enabled by default). DKIM, SPF and DMARC authentication methods are supported. Implement recommendation from RFC 7601 Sec 7.1 to have an explicit list of trustworthy hostnames before displaying the authentication results. Be aware that the authentication headers can be forged. To display the results for a specific authentication method, add the corresponding name to the layout of headers in the viewer section of aerc.conf, e.g. to display all three, use: header-layout = From|To,Cc|Bcc,Date,Subject,DKIM|SPF|DMARC More information will be displayed when "+" is appended to the authentication method name, e.g. DKIM+ or SPF+ or DMARC+. Also, add the trustworthy hosts per account with the trusted-authres parameter, e.g. trusted-authres = * to trust every host or use regular expressions for a finer control. Multiple hosts can be entered as a comma-separated list. Authentication results will only be displayed when the host is listed in the trusted-authres list. Link: https://datatracker.ietf.org/doc/html/rfc7601 Signed-off-by: Koni Marti <koni.marti@gmail.com> Tested-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
52 lines
2.3 KiB
Modula-2
52 lines
2.3 KiB
Modula-2
module git.sr.ht/~rjarry/aerc
|
|
|
|
go 1.13
|
|
|
|
require (
|
|
git.sr.ht/~sircmpwn/getopt v1.0.0
|
|
github.com/ProtonMail/go-crypto v0.0.0-20211221144345-a4f6767435ab
|
|
github.com/arran4/golang-ical v0.0.0-20220517104411-fd89fefb0182 // indirect
|
|
github.com/creack/pty v1.1.17
|
|
github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964
|
|
github.com/ddevault/go-libvterm v0.0.0-20190526194226-b7d861da3810
|
|
github.com/emersion/go-imap v1.2.0
|
|
github.com/emersion/go-imap-sortthread v1.2.0
|
|
github.com/emersion/go-maildir v0.2.0
|
|
github.com/emersion/go-message v0.15.0
|
|
github.com/emersion/go-msgauth v0.6.5 // indirect
|
|
github.com/emersion/go-pgpmail v0.2.0
|
|
github.com/emersion/go-sasl v0.0.0-20211008083017-0b9dcfb154ac
|
|
github.com/emersion/go-smtp v0.15.0
|
|
github.com/fsnotify/fsnotify v1.5.1
|
|
github.com/gatherstars-com/jwz v1.3.0 // indirect
|
|
github.com/gdamore/tcell/v2 v2.4.0
|
|
github.com/go-ini/ini v1.63.2
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
|
|
github.com/imdario/mergo v0.3.12
|
|
github.com/kyoh86/xdg v1.2.0
|
|
github.com/lithammer/fuzzysearch v1.1.3
|
|
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.14
|
|
github.com/mattn/go-pointer v0.0.1 // indirect
|
|
github.com/mattn/go-runewidth v0.0.13
|
|
github.com/miolini/datacounter v1.0.2
|
|
github.com/mitchellh/go-homedir v1.1.0
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/riywo/loginshell v0.0.0-20200815045211-7d26008be1ab
|
|
github.com/stretchr/testify v1.7.1
|
|
github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778 // indirect
|
|
github.com/zenhack/go.notmuch v0.0.0-20211022191430-4d57e8ad2a8b
|
|
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 // indirect
|
|
golang.org/x/net v0.0.0-20211029224645-99673261e6eb // indirect
|
|
golang.org/x/oauth2 v0.0.0-20211028175245-ba495a64dcb5
|
|
golang.org/x/sys v0.0.0-20211030160813-b3129d9d1021 // indirect
|
|
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
google.golang.org/protobuf v1.27.1 // indirect
|
|
gopkg.in/yaml.v3 v3.0.0-20220512140231-539c8e751b99 // indirect
|
|
)
|
|
|
|
replace golang.org/x/crypto => github.com/ProtonMail/crypto v0.0.0-20200420072808-71bec3603bf3
|
|
|
|
replace github.com/zenhack/go.notmuch => github.com/brunnre8/go.notmuch v0.0.0-20201126061756-caa2daf7093c
|