Also support hash tiles

This commit is contained in:
2026-01-11 08:01:35 +01:00
parent 1633ad52c9
commit 84e3bbf442
2 changed files with 37 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ ctfetch --dumpall https://halloumi2026h1.mon.ct.ipng.ch 629794635
### tiledump
Read a CT log tile file or URL and dump all entries.
Read a CT log tile file or URL and dump contents. Automatically detects and handles both data tiles (log entries) and hash tiles (Merkle tree hashes).
```bash
tiledump <tile-file-or-url>
@@ -44,12 +44,17 @@ tiledump <tile-file-or-url>
**Examples:**
From a file:
Data tile from a file:
```bash
tiledump tile.data
```
From a URL:
Data tile from a URL:
```bash
tiledump https://halloumi2026h1.mon.ct.ipng.ch/tile/data/x002/x460/135
```
Hash tile from a URL:
```bash
tiledump https://halloumi2026h1.mon.ct.ipng.ch/tile/0/x100/999
```