Remove the .Error() method from probs.ProblemDetails, so that it can no longer be returned from functions which return an error. Update various call sites to use the .String() method to get a textual representation of the problem instead. Simplify ProblemDetailsForError to not special-case and pass-through ProblemDetails, since they are no longer a valid input to that function. This reduces instances of "boxed nil" bugs, and paves the way for all of the WFE methods to be refactored to simply return errors instead of writing them directly into the response object. Part of https://github.com/letsencrypt/boulder/issues/4980 |
||
---|---|---|
.. | ||
README.md | ||
cache.go | ||
cache_test.go | ||
stats.go | ||
verify.go | ||
verify_test.go | ||
wfe.go | ||
wfe_test.go |
README.md
WFE v2
The wfe2
package is copied from the wfe
package in order to implement the
"ACME v2" API. This design choice
was made to facilitate a clean separation between v1 and v2 code and to support
running a separate API process on a different port alongside the v1 API process.