Commit Graph

28 Commits (bfe29def59702f6d9ff322aa7df67fb5f58269f7)

Author SHA1 Message Date
Mariano Cano 26dd97e718 Merge branch 'master' into context-authority 2 years ago
Mariano Cano 20b2c6a201 Extract cert storer methods from AuthDB
To be able to extend the AuthDB with methods that also extend the
provisioner we need to either create a new method or to split the
interface. This change splits the interface so we can have a cleaner
implementation.
2 years ago
Mariano Cano 0446e82320 Add context methods for the authority database 2 years ago
Mariano Cano 3694ba30dc Store certificate and provisioner in one transaction. 2 years ago
Mariano Cano 1d1e095447 Add tests for LoadProvisionerByCertificate. 2 years ago
Mariano Cano 7d6116c3d0 Add GetCertificateData and refactor x509_certs_data. 2 years ago
Mariano Cano 41c6ded85e Store in the db the provisioner that granted a cert. 2 years ago
Herman Slatman 47a8a3c463
Add test case for ACME Revoke to Authority 2 years ago
max furman 933b40a02a Introduce gocritic linter and address warnings 3 years ago
Mariano Cano 8381e9bd17 Fix typos. 4 years ago
Mariano Cano e17ce39e3a Add support for Revoke using CAS. 4 years ago
max furman d51f254ee4 ValueLogLoadingMode -> FileLoading Mode badger 4 years ago
max furman 0573c00bd3 Simultaneous support for Badger V1+V2 and ...
* valueLogLoadingMode config for low RAM badger environments
4 years ago
max furman dccbdf3a90 Introduce generalized statusCoder errors and loads of ssh unit tests.
* StatusCoder api errors that have friendly user messages.
* Unit tests for SSH sign/renew/rekey/revoke across all provisioners.
4 years ago
max furman db1b7a7f8f extraneous new line 4 years ago
max furman 29853ae016 sshpop provisioner + ssh renew | revoke | rekey first pass 4 years ago
max furman 862d704f6b get-hosts fixes 4 years ago
max furman 5616386eed Add SSH getHosts api 4 years ago
Mariano Cano 37f17213bb Add initial support for check-host endpoint. 4 years ago
max furman 83a8139543 dep update nosql
* Fixes #112
5 years ago
max furman e3826dd1c3 Add ACME CA capabilities 5 years ago
max furman 599fc1058c loadOrStore -> cmpAndSwap 5 years ago
max furman 81db527f12 NoopDB -> SimpleDB 5 years ago
max furman b73fe8c157 Add used OTT to DB during authToken step 5 years ago
max furman 46c7592f34 db: Omit empty optional fields from JSON 5 years ago
max furman c242602231 reload and shutdown trickery
* Only shutdown the database once.
* Be careful when reloading the CA. Depending on whether the DB has
already been shutdown, and error may be unrecoverable.
5 years ago
max furman cbeca9383b Update nosql integration
* shutdown and reload database on SIGHUP
5 years ago
max furman ab4d569f36 Add /revoke API with interface db backend 5 years ago