mox/vendor/github.com/mjl-
Mechiel Lukkien a2c9cfc55b
webadmin: don't show runtime typecheck error for invalid values in dmarc and tls reports
several fields in dmarc and tls reports have known string values. we have a Go
string type for them. sherpats (through sherpadoc) turns those strings into
typescript enums, and sherpats generates runtime-typechecking code (to enforce
correct types for incoming json, to prevent failing deeper in the code when we
get invalid data (much harder to debug)). the Go not-really-enum types allow
other values, and real-world reports have unknown/unspecified/invalid values.
this uses the sherpadoc -rename flag to turn those enums into regular untyped
strings, so sherpats doesn't generate enum-enforcing runtime type checking
code.

this required an update to sherpadoc, to properly handling renaming a type to a
basic type instead of another named type.

for issue #161 by RobSlgm, thanks for reporting!
2024-05-09 15:58:14 +02:00
..
adns update to latest adns with fix for endless loop for incoming corrupt packets 2024-05-09 11:30:42 +02:00
autocert update dependencies 2024-03-08 09:28:09 +01:00
bstore update to latest bstore, with a bugfix for queries with multiple orders that were partially handled by an index 2024-03-30 09:39:18 +01:00
sconf update to latest sconf, which now gives more helpful error messages about some invalid config lines, like one with only whitespace 2024-03-27 10:08:15 +01:00
sherpa replace http basic auth for web interfaces with session cookie & csrf-based auth 2024-01-05 10:48:42 +01:00
sherpadoc webadmin: don't show runtime typecheck error for invalid values in dmarc and tls reports 2024-05-09 15:58:14 +02:00
sherpaprom mox! 2023-01-30 14:27:06 +01:00
sherpats update to latest sherpats fixing typo in error message, handle absent dmarc "policy override" reason 2024-03-09 15:43:49 +01:00
xfmt add comment about the sconf config file format at the top of the config files 2023-09-21 08:59:10 +02:00