Enable the "unparam" linter, which checks for unused function parameters, unused function return values, and parameters and return values that always have the same value every time they are used. In addition, fix many instances where the unparam linter complains about our existing codebase. Remove error return values from a number of functions that never return an error, remove or use context and test parameters that were previously unused, and simplify a number of (mostly test-only) functions that always take the same value for their parameter. Most notably, remove the ability to customize the RSA Public Exponent from the ceremony tooling, since it should always be 65537 anyway. Fixes #6104 |
||
---|---|---|
.. | ||
test | ||
README.md | ||
cache.go | ||
cache_test.go | ||
prod_aia.go | ||
stale.go | ||
stale_test.go | ||
stats.go | ||
test_aia.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.