Commit Graph

23 Commits

Author SHA1 Message Date
Pim van Pelt
e18a89dcf0 Add Debian packaging, Makefile, manpages, tests, and design doc
Introduces a static-binary build and Debian package (amd64/arm64) with
version/commit/date stamped via -ldflags. Ships section-1 manpages for
ctool, ctfetch, and ctail. Adds a `version` subcommand reachable as
`ctool version`, `ctool -version`, `ctool --version`, `ctool fetch
version`, `ctool tail version`, and via the ctfetch/ctail symlinks. Adds
tests covering the dispatcher, fetch/tail argument parsing, and the
formatter/helper functions. Adds a retrofit design document modelled on
the vpp-maglev one, with FRs and NFRs for each tool and the dispatcher.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 22:21:32 +02:00
Pim van Pelt
bbd566d10e Loop over tiled_logs in addition to logs, when resolving SCT log_id's 2026-04-21 17:22:48 +02:00
Pim van Pelt
7a44808136 Add an interesting cert on halloumi2026h1 2026-04-21 16:49:20 +02:00
Pim van Pelt
e45a483b23 Update README with currently active logs 2026-04-21 16:39:14 +02:00
Pim van Pelt
3ed99224da Remove install instructions from detailed docs 2026-04-06 01:43:32 +02:00
Pim van Pelt
097c33b478 Allow the binary to be symlinked to its toolnames 'ctfetch' and 'ctail' 2026-04-06 01:40:52 +02:00
Pim van Pelt
ba7f0dcb9f Refactor ctail+ctfetch into a common ctool 2026-04-06 01:36:21 +02:00
Pim van Pelt
418e83a83f Add ctail, refactor README 2026-04-06 01:29:38 +02:00
Pim van Pelt
cba89df53b Add +all argument 2026-04-05 23:20:13 +02:00
Pim van Pelt
12cef73a74 Add note for GOPRIVATE 2026-04-05 23:15:48 +02:00
Pim van Pelt
ab476b71ba Update package path, update install instructions 2026-04-05 23:00:38 +02:00
Pim van Pelt
8e61a3611d Remove dangling tile from halloumi 2026-04-05 22:57:36 +02:00
Pim van Pelt
8efc43b0e4 Clean up stderr logging 2026-04-05 22:54:29 +02:00
Pim van Pelt
76e3ce28e1 Refuse the +sct +issuer +ctlog flags when fetching hash tiles 2026-04-05 22:06:51 +02:00
Pim van Pelt
d80eeb9677 Parse out the poison extension in pre-certs 2026-04-05 22:00:08 +02:00
Pim van Pelt
80fcac77d8 Add all other cert details 2026-04-05 21:56:21 +02:00
Pim van Pelt
a36e913e27 Fold tiledump into ctfetch. Add +sct, +issuer and +ctlog flags to print additional info 2026-04-05 21:49:10 +02:00
Pim van Pelt
66835aab9d Output JSON 2026-01-12 22:48:15 +01:00
Pim van Pelt
dbbae65e45 Fall back to full tile 2026-01-11 08:08:46 +01:00
Pim van Pelt
84e3bbf442 Also support hash tiles 2026-01-11 08:01:35 +01:00
Pim van Pelt
1633ad52c9 Refactor some utils.go; add another tool 'tiledump' 2026-01-11 07:12:48 +01:00
Pim van Pelt
25d07030d5 Move the tool to its own cmd/ directory 2026-01-11 07:02:01 +01:00
Pim van Pelt
f2c5516451 Initial checkin 2026-01-11 06:53:39 +01:00