This also adds the badCSR error type specified by RFC 8555. It is a natural fit for the errors in VerifyCSR that aren't covered by badPublicKey. The web package function for converting a berror to a problem is updated for the new badCSR error type. The callers (RA and CA) are updated to return the berrors from VerifyCSR as is instead of unconditionally wrapping them as a berrors.MalformedError instance. Unit/integration tests are updated accordingly. Resolves #4418 |
||
|---|---|---|
| .. | ||
| errors.go | ||
| errors_test.go | ||