1 set display_filter='t-prot -cemktS --bigq --pgp-move-vrf -Mmutt -L/usr/share/doc/t-prot/examples/footers'
2 # set it to '' to turn it off by default
4 # toggle TOFU protection with ESC-0 (off) and ESC-1 (on)
5 macro generic \e0 ":unset display_filter\n" "Turn TOFU protection off"
6 macro generic \e1 ":set display_filter='t-prot -cemktS --bigq --pgp-move-vrf -Mmutt -L/usr/share/doc/t-prot/examples/footers'\n" "Turn TOFU protection on"
8 # same in pager mode - ugly but what the hell...
9 macro pager \e0 ":unset display_filter; exec exit\n:exec display-message\n" "Turn TOFU protection off"
10 macro pager \e1 ":set display_filter='t-prot -cemktS --bigq --pgp-move-vrf -Mmutt -L/usr/share/doc/t-prot/examples/footers'; exec exit\n:exec display-message\n" "Turn TOFU protection on"
12 # highlight TOFU protection:
13 color body brightmagenta black "^\\[---.*"
14 color body green black "^#v[-+]"