aboutsummaryrefslogtreecommitdiff
path: root/pkg
Commit message (Collapse)AuthorAgeFilesLines
* 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