boulder icon indicating copy to clipboard operation
boulder copied to clipboard

wfe: Add IP address rendering check to prepAuthorizationForDisplay

Open jprenken opened this issue 9 months ago • 0 comments

RFC 8738 places a restriction on the format in which we render IP address identifiers to ACME clients:

The value field of the identifier MUST contain the textual form of the address as defined in Section 2.1 of [RFC1123] for IPv4 and in Section 4 of [RFC5952] for IPv6.

We pass all identifiers received in new-order requests through policy.ValidIP, which ensures this.

However, we should augment this request-time enforcement with a render-time check inside wfe.prepAuthorizationForDisplay.

jprenken avatar Jun 24 '25 21:06 jprenken