sys4 / tlsrpt

A set of libraries and tools to implement TLSRPT reporting into an MTA and to generate and submit TLSRPT reports.
Other
2 stars 2 forks source link

Nice-to-have: import TLSRPT-related string etc. constants from library header file #9

Closed wietse-postfix closed 4 months ago

wietse-postfix commented 4 months ago

I would be nice-to-have if TLSRPT-related string etc. constants can be imported from a TLSRPT header file.

I am thinking of the constants that ultimately end up in TLSRPT notifications, such as the policy types ("dane", "mts-sts", "no-policy-found"), and the failure codes in https://datatracker.ietf.org/doc/html/rfc8460#section-4.3.1.

Initially I can import them from a Postfix-specific header file. We can later move those definitions to a TLSRPT library header file.

wietse-postfix commented 4 months ago

I'm closing this issue. Looking at an old library header file, I see an enum with codes for TLS negotiation failures, STS-specific failures, and DANE-specific failures.

wietse-postfix commented 4 months ago

Closing.