This PR removes two berrors that aren't used anywhere in the codebase: TooManyRequests , a holdover from AMQP, and is no longer used. UnsupportedIdentifier, used just for rejecting IDNs, which we no longer do. In addition, the SignatureValidation error was only used by the WFE so it is moved there and unexported. Note for reviewers: To remove berrors.UnsupportedIdentifierError I replaced the errIDNNotSupported error in policy/pa.go with a berrors.MalformedError with the same name. This allows removing UnsupportedIdentifierError ahead of #2712 which removes the IDNASupport feature flag. This seemed OK to me, but I can restore UnsupportedIdentifierError and clean it up after 2712 if that's preferred. Resolves #2709 |
||
---|---|---|
.. | ||
errors.go |