Refactor ctail+ctfetch into a common ctool
This commit is contained in:
14
README.md
14
README.md
@@ -5,27 +5,29 @@ Tools for working with [Static CT log](https://c2sp.org/static-ct-api) tiles.
|
||||
## Install
|
||||
|
||||
```bash
|
||||
GOPRIVATE=git.ipng.ch go install git.ipng.ch/certificate-transparency/ctfetch/cmd/...@latest
|
||||
GOPRIVATE=git.ipng.ch go install git.ipng.ch/certificate-transparency/ctfetch/cmd/ctool@latest
|
||||
```
|
||||
|
||||
## Tools
|
||||
The `GOPRIVATE` variable skips the Go checksum database and module proxy, which do not index modules on `git.ipng.ch`.
|
||||
|
||||
### ctfetch
|
||||
## Commands
|
||||
|
||||
### ctool fetch
|
||||
|
||||
Fetch and decode entries from a Static CT log as structured JSON.
|
||||
|
||||
```bash
|
||||
ctfetch https://halloumi2026h1.mon.ct.ipng.ch 629794635 +all
|
||||
ctool fetch https://halloumi2026h1.mon.ct.ipng.ch 629794635 +all
|
||||
```
|
||||
|
||||
→ [Full documentation](docs/ctfetch.md)
|
||||
|
||||
### ctail
|
||||
### ctool tail
|
||||
|
||||
Tail a Static CT log, printing a one-liner per new cert/precert as it arrives.
|
||||
|
||||
```bash
|
||||
ctail https://halloumi2026h1.mon.ct.ipng.ch
|
||||
ctool tail https://halloumi2026h1.mon.ct.ipng.ch
|
||||
```
|
||||
|
||||
→ [Full documentation](docs/ctail.md)
|
||||
|
||||
Reference in New Issue
Block a user