Table of Contents
Datacenter Image Trust is a CLI tool designed to securely download and verify Linux distribution images.
It ensures that downloaded ISO images are authentic and untampered by validating:
- GPG signatures
- SHA256 checksums
- trusted signing keys
- allowed distribution hosts
The tool is built for infrastructure, homelab, and security-focused environments where trust in downloaded artifacts is critical.
Important
This tool enforces a full trust chain from download to verification.
flowchart LR
A[User CLI]
B[Provider Resolver]
C[Remote Mirror]
D[Checksum File]
E[GPG Signature]
F[ISO Image]
G[Local Trust Store]
A --> B
B --> C
C --> D
C --> E
C --> F
D -->|verify| E
F -->|hash check| D
E -->|validate key| G
| feature | description |
|---|---|
| multi-distribution | Ubuntu, Debian, Fedora support |
| GPG verification | validates checksum signatures |
| SHA256 validation | ensures ISO integrity |
| trust policy | validates trusted keys and hosts |
| offline mode | verify previously downloaded images |
| JSON output | automation and scripting friendly |
| image listing | discover available ISOs |
| image selection | manually select specific ISO |
| progress display | real-time download feedback |
| distribution | status | notes |
|---|---|---|
| Ubuntu | stable | LTS and point releases supported |
| Debian | stable | archive + current releases |
| Fedora | stable | recent releases (tested: 42, 43) |
git clone https://github.com/Pr0xyG33k/datacenter_image_trust.git
cd datacenter_image_trustpip install -r requirements.txtPYTHONPATH=src pytest -qNote
The tool automatically resolves ISO, downloads required artifacts, and verifies trust chain.
bin/datacenter-image-trust --release 24.04bin/datacenter-image-trust \
--distribution ubuntu \
--release 24.04 \
--listbin/datacenter-image-trust \
--distribution ubuntu \
--release 24.04 \
--select ubuntu-24.04.4-desktop-amd64.isobin/datacenter-image-trust \
--distribution fedora \
--release 43 \
--image-type server-netinst \
--verify-onlybin/datacenter-image-trust \
--distribution ubuntu \
--release 24.04 \
--json--distribution target distribution (ubuntu, debian, fedora)
--release release version or codename
--image-type type of ISO (server, desktop, netinst, etc.)
--list list available images
--select manually select ISO
--verify-only skip download, verify local files
--no-download disable downloads
--force-download re-download even if file exists
--json output result in JSON
--verbose enable detailed logs
The tool relies on local configuration files:
conf/application.yml
conf/distributions/
ubuntu.yml
debian.yml
fedora.yml
trust/
<distribution>/
keyrings/
fingerprints/
src/
datacenter_image_trust/
cli.py
downloader.py
providers/
models.py
conf/
application.yml
distributions/
trust/
<distribution>/
keyrings/
fingerprints/
var/
downloads/
cache/
tests/
Because the checksum itself must be trusted.
This tool verifies checksum authenticity via GPG.
Without signature validation, checksums can be replaced by malicious actors.
To prevent downloads from untrusted mirrors or compromised sources.
It is designed for homelab and infrastructure environments requiring strong verification guarantees.