aboutsummaryrefslogtreecommitdiff
path: root/pkg
Commit message (Collapse)AuthorAgeFilesLines
* Commit parsed certificate as ASCII instead of DERRasmus Dahlberg14 days1-2/+3
| | | | | Because openssl wasn't able to parse DER precertificates. And now the user can just view the file rather than fiddling with openssl.
* prometheus: Add basic metrics for alertingRasmus Dahlberg14 days1-0/+7
| | | | | - Detect if we're falling behind while downloading - Detect if there are any found certificates alerting
* Store parsed DER certificates for matching entriesRasmus Dahlberg2025-01-031-2/+5
| | | | | | For convenience. For example, now one can debug issues like this: openssl x509 -inform DER -in /path/to/crt.der -text -noout
* Improve terminology and documentationRasmus Dahlberg2024-06-023-8/+8
|
* chore: Remove dash in project nameRasmus Dahlberg2024-06-027-15/+15
| | | | To be consistent with naming of the tools in cmd/.
* Only bootstrap a compact range once per logRasmus Dahlberg2024-05-261-19/+66
| | | | | | | | | | | | | | | As opposed to doing a new bootstrap with get-proof-by-hash every time the next root is constructed. Bootstrapping the compact range from a get-proof-by-hash query works for the most part, but fails if the log included a duplicate entry and gives us the index for that instead. Log operators with duplicate entries include Cloudflare and Digicert. If bootstrap fails (unlucky), we try to bootstrap again once the log's signed tree head moved forward (hoping the last entry has no duplicate). The more reliable way to bootstrap a compact range would be to use the get-entry-and-proof endpoint. This does not work in practise because some logs are not implementing this endpoint. Digicert has such logs.
* Use serial number as unique certificate IDRasmus Dahlberg2024-05-161-3/+8
|
* Fix nits spotted by go vetRasmus Dahlberg2024-05-161-1/+1
|
* Add drafty prototypeRasmus Dahlberg2024-01-0720-786/+952
|
* Remove .swp fileRasmus Dahlberg2023-12-171-0/+0
| | | | Ops.
* Drafty server package to receive node requestsRasmus Dahlberg2023-12-176-46/+176
| | | | | curl http://localhost:2009/get-status curl -X POST --data-binary @/home/rgdd/fullchain.pem -u node_a:aaaa http://localhost:2009/add-chain
* Add drafty skeletonRasmus Dahlberg2023-12-108-0/+656