Commit Graph

13 Commits (master)

Author SHA1 Message Date
max furman 8b256f0351
address linter warning for go 1.19 1 year ago
Herman Slatman 0f1c509e4b
Remove debug utility 1 year ago
Herman Slatman edee01c80c
Refactor debug utility 1 year ago
Herman Slatman 1c38113e44
Add ACME `Subproblem` for more detailed ACME client-side errors
When validating an ACME challenge (`device-attest-01` in this case,
but it's also true for others), and validation fails, the CA didn't
return a lot of information about why the challenge had failed. By
introducing the ACME `Subproblem` type, an ACME `Error` can include
some additional information about what went wrong when validating
the challenge.

This is a WIP commit. The `Subproblem` isn't created in many code
paths yet, just for the `step` format at the moment. Will probably
follow up with some more improvements to how the ACME error is
handled. Also need to cleanup some debug things (q.Q)
1 year ago
Herman Slatman 523ae96749
Change identifier and challenge types to consts 3 years ago
max furman b6ebc0fd25 more unit tests 3 years ago
max furman 206909b12e [acme db interface] unit tests for challenge nosql db 3 years ago
max furman 80a6640103 [acme db interface] wip 3 years ago
max furman 1135ae04fc [acme db interface] wip 3 years ago
max furman 2ae43ef2dc [acme db interface] wip errors 3 years ago
max furman 461bad3fef [acme db interface] wip 3 years ago
max furman 31ad7f2e9b [acme] Continued work on acme db interface (wip) 3 years ago
max furman 34859551ef Add new directory structure 3 years ago