Commit Graph

55 Commits (6929e31fe04a9aeec14ac2eeb95f5b85dd211f76)

Author SHA1 Message Date
Herman Slatman 11a7f01177
Simplify lookup cursor logic for ExternalAccountKeys 3 years ago
Herman Slatman f9ae875f9d
Use short if-style statements 3 years ago
Herman Slatman d799359917
Merge branch 'master' into hs/acme-eab 3 years ago
Herman Slatman 06bb97c91e
Add logic for Account authorizations and improve tests 3 years ago
Herman Slatman a7fbbc4748
Add tests for GetCertificateBySerial 3 years ago
Herman Slatman 3151255a25
Merge branch 'master' into hs/acme-revocation 3 years ago
Herman Slatman 4d726d6b4c
Add pagination to ACME EAB credentials endpoint 3 years ago
Herman Slatman d354d55e7f
Improve handling duplicate ACME EAB references 3 years ago
Herman Slatman dd4b4b0435
Fix remaining gocritic remarks 3 years ago
Herman Slatman a4660f73fa
Fix some of the gocritic remarks 3 years ago
Herman Slatman e0b495e4c8
Merge branch 'master' into hs/acme-eab 3 years ago
Herman Slatman c26041f835
Add ACME EAB nosql tests 3 years ago
max furman 933b40a02a Introduce gocritic linter and address warnings 3 years ago
Herman Slatman c2bc1351c6
Add provisioner to remove endpoint and clear reference index on delete 3 years ago
Herman Slatman 746c5c9fd9
Disallow creation of EAB keys with non-unique references 3 years ago
Herman Slatman 9c0020352b
Add lookup by reference and make reference optional 3 years ago
Herman Slatman 02cd3b6b3b
Fix PR comments 3 years ago
Herman Slatman f11c0cdc0c
Add endpoint for listing ACME EAB keys 3 years ago
Herman Slatman a1afbce50c
Check EAB key exists before deleting it 3 years ago
Herman Slatman 9d09f5e575
Add support for deleting ACME EAB keys 3 years ago
Herman Slatman a98fe03e80
Merge branch 'master' into hs/acme-eab 3 years ago
max furman a3028bbc0e Add test for updateAddOrderIDs 3 years ago
Herman Slatman 492256f2d7
Add first test cases for EAB and make provisioner unique per EAB
Before this commit, EAB keys could be used CA-wide, meaning that
an EAB credential could be used at any ACME provisioner. This
commit changes that behavior, so that EAB credentials are now
intended to be used with a specific ACME provisioner. I think
that makes sense, because from the perspective of an ACME client
the provisioner is like a distinct CA.

Besides that this commit also includes the first tests for EAB.
The logic for creating the EAB JWS as a client has been taken
from github.com/mholt/acmez. This logic may be moved or otherwise
sourced (i.e. from a vendor) as soon as the step client also
(needs to) support(s) EAB with ACME.
3 years ago
Herman Slatman d44cd18b96
Add External Accounting Binding key "BoundAt" marking 3 years ago
Herman Slatman f81d49d963
Add first working version of External Account Binding 3 years ago
Herman Slatman 258efca0fa
Improve revocation authorization 3 years ago
Herman Slatman 97165f1844
Fix test mocking for CreateCertificate 3 years ago
Herman Slatman 2b15230aa4
Add Serial to Cert ID ACME table and lookup 3 years ago
Herman Slatman 523ae96749
Change identifier and challenge types to consts 3 years ago
max furman 63ec2e35b0 Change Clock to empty struct in nosql/nosql | truncate > round
- saves space
-
4 years ago
max furman 9aef84b9af remove unused nonce.clone method 4 years ago
max furman 6b8585c702 PR review fixes / updates 4 years ago
max furman bdace1e53f Add failure scenarios to db.CreateOrder unit tests 4 years ago
max furman fd447c5b54 Fix small nbf->naf bug in db.CreateOrder
- still needs unit test
4 years ago
max furman a785131d09 Fix lint issues 4 years ago
max furman 80c8567d99 change errnotfound type for getAccount
- more generalized NotFound type rather than the nosql
one we were using
- if the error is not recognized then the logic in create account will
break.
4 years ago
max furman b6ebc0fd25 more unit tests 4 years ago
max furman df05340521 fixing broken unit tests 4 years ago
max furman 3612a0b990 gethttp01 validate unit tests working 4 years ago
max furman 7f9ffbd514 adding more acme nosql unit tests 4 years ago
max furman 88e6f00347 nosql account db unit tests 4 years ago
max furman ce13d09dcb add `at` to time attributes in dbAccount 4 years ago
max furman f72b2ff2c2 [acme db interface] nosql authz unit tests 4 years ago
max furman 206909b12e [acme db interface] unit tests for challenge nosql db 4 years ago
max furman 4b1dda5bb6 [acme db interface] tests 4 years ago
max furman fc395f4d69 [acme db interface] compiles! 4 years ago
max furman 116869ebc5 [acme db interface] wip 4 years ago
max furman 80a6640103 [acme db interface] wip 4 years ago
max furman 1135ae04fc [acme db interface] wip 4 years ago
max furman 2ae43ef2dc [acme db interface] wip errors 4 years ago