Holger guards your artifacts at rest
Holger is a secure artifact gateway in pure Rust. It pulls packages from the internet (PyPI, npm, Maven, crates.io, OCI, Go, APK), verifies, scans and approves each one, and serves only what passed. An on-prem downstream takes the approved set as a signed bundle, over the network or on a USB stick, and serves the site's builds with no other network.
Install: four products
Holger is four products, one crate each:
| product | install | from a clone | crates | binary | what it is |
|---|---|---|---|---|---|
holger |
cargo install holger |
cargo install --locked --path server/cli |
349 | 58.0 MB | the server: the twelve formats, the intake chain (scanners, approvals, audit), the offline bundle and intel verbs |
holger-downstream |
cargo install holger-downstream |
cargo install --locked --path holger-downstream |
328 | 48.7 MB | the airgapped downstream: takes packages from ONE upstream Holger (a carried bundle or a sync), verifies them, serves the twelve formats, runs no scanner and dials nothing else |
holger-ui |
cargo install holger-ui |
cargo install --locked --path ../holger-ui/crates/holger-ui |
98 | 6.8 MB | the web console: the console bundle and a same-origin pass-through to the holger it points at |
holger-cli |
cargo install holger-cli |
cargo install --locked --path holger-cli |
240 | 22.2 MB | the command-line tool: every console action as a command (it dials only --at), the airgap bundle, the offline verifier and the courier |
The extras are features of the same crates: --features all-formats (NuGet, gems, conda, Composer), online (the pull-through clients), federation (Artifactory, Nexus, AWS and Azure through Skidbladnir), and full (all three).
A clone needs no registered key: git clone ssh://anonymous@git.gunnar.rs:2222/nordisk/holger.git
(and nordisk/holger-ui beside it for the console). The default of every product dials
nothing: docs/v2/02-install.md.
Three products by hand
This guide installs the server, the console and the downstream from their crates, connects
the downstream to the server online, serves a pip package through the downstream, and then
carries the same package over an airgap as a signed bundle. Every command is copy-pasteable
on one Linux host. You need cargo, rootless podman, openssl, curl, python3 and pip. The
integration test cargo xtask products runs exactly these blocks, in this order.
0. The places and the names. Everything lives under $G; the two Holgers and the
console listen on loopback.
1. The server
Install the server and the command-line tool:
Every scan runs in a container, never in the server. Build the scan worker's image once (a static program in an image FROM scratch; no registry is reached):
&&
The keys: the server's evidence signer (a P-256 leaf under its own root), and the two people of a bundle (an approver and a distinct release signer, Ed25519). The tokens: an importer, a security approver, an admin, an auditor, and the downstream's own.
for; do
done
for; do ; done
The server's RON: the intake chain's four repositories and a bundles repository (what
the downstream pulls; its door stores only signed bundles that verify against
pki/trust-policy.ron, everything else is refused holger-bundles-1), the five tokens and their duties, the evidence signer, the offline
advisory database, and the sync key that signs what it sends downstream.
The vulnerability scan reads a local advisory database, never the network. Fill it from
the public feeds (download them on a connected machine; the server itself dials nothing),
signed as an intel bundle by the same two people. The first bundle of a kind sets the
anti-rollback floor, and only an admin's explicit grant lets it (allow-first-import, used
once, audited). Then start the server:
&
until ; do ; done
2. The console
HOLGER_UI_BIND="" HOLGER_UI_HOLGER="" HOLGER_UI_DOOR="" &
until ; do ; done
Open http://127.0.0.1:3210/login and paste the admin's token (cat $G/pki/adm.token).
The console keeps it as its session and every call goes to the server with it. The same
sign-in, by hand:
3. The downstream, online
A downstream is one-way by default: its packages come in only through its inbox, and it
refuses any way out. Online, it fetches from its one upstream: install it with fetch, and
its RON says boundary: Fetch. Write its RON (the same intake chain, an inbox the bundles
land in, the server's evidence roots it trusts, and the server as its one upstream), and
print its sync key:
Enrol it on the server and invite it: in the console, Sync board, Enrol a downstream
(name lab, the key it printed, via front), then Invite on its row, which hands out
the signed invite (lab.invite.json). The same with the command-line tool. The invite is
signed with the server's sync key, for this downstream's key, and names the server's sync
door: the downstream's RON names the invite instead of a url:, and its start verifies it
once and keeps it. The downstream's admin also grants the first bundle of the server's
pypi product the right to set its anti-rollback floor (without the grant, the first bundle
is refused: nothing was ever accepted here):
LAB_KEY=
&
until ; do ; done
4. A pip package through the downstream
Upload a wheel to the server as the importer, walk it through the intake chain (scanned, policy-checked, approved by somebody who did not import it, sealed, available), export it as a signed bundle and publish the bundle where the downstream pulls from:
WHEEL=
for; do ; done
The downstream pulls the bundle, verifies it (the release signature, the approval, every payload hash, the server's signed scan evidence) and lands the wheel. pip installs it from the downstream:
until ; do ; done
The server's Sync board names the downstream and what it applied:
curl -fsS -H "Authorization: Bearer $(cat pki/aud.token)" "http://$HQ/-/sync/board".
5. The airgap: a bundle on a stick
A downstream with no network takes the same signed bundle from a stick. Verify it with the
command-line tool (offline), then import it into an airgapped downstream: the plain one-way
holger-downstream with network: Offline (a dial is refused before a socket opens), its
admin granting this first bundle. Install the one-way build beside the online one (it
compiles in no way out at all):
|
&
until ; do ; done
Stop the four programs: kill %1 %2 %3 %4.
Speed, measured
Every number here is generated from the newest holperf run on real packages
(holperf/results/, cargo xtask bench-readme); none is written by hand.
Measured by holperf on real packages: oden (32 threads, 499 GiB RAM), 2026-11-01, holger ad6d66db; load1 26.6 before the run, 26.6 to 56.1 during it. Every set was fetched by its real client from its real registry (holperf/sets/, cargo xtask bench-readme fetch).
| set | what | packages | files | MB |
|---|---|---|---|---|
| pip | wheels from pypi.org (pip download) | 70 | 70 | 127 |
| npm | tarballs from registry.npmjs.org (npm pack) | 40 | 40 | 35.9 |
| maven | jars and poms from Maven Central | 30 | 60 | 42.3 |
| helm | charts from their projects' repositories (helm pull) | 17 | 17 | 2.40 |
| apt | Debian trixie .debs (apt-get download) | 65 | 65 | 75.3 |
| dnf | Fedora 42 .rpms (dnf5 download) | 57 | 57 | 127 |
| oci | container images (podman save, OCI layout) | 8 | 8 | 413 |
Each row first shows what it costs to get there: open the store and answer the first index request after it (cold page cache; time and CPU), and the peak RSS of the bench process over that format's run (the server and its HTTP clients run in it, with every set's store open; the clients read each reply through one buffer and keep no body, so the memory is the server's, with the server's allocator settings). Every set must stay within 512 MiB, half the lean box's 1 GB (cargo xtask bench-readme check). Then the warm numbers: the index in process and over the HTTP door, and downloads over the HTTP door. plain is the format's own sealed store; chain is the estate box's intake chain (every package landed, scanned, approved, sealed, AVAILABLE) serving the same set.
| set | served by | open + first index (ms) | its CPU (ms) | peak RSS (MiB) | index p50 / p99 in process (µs) | index over HTTP, c=32 (req/s) | small downloads, c=32 (req/s, MB/s) | largest file, c=8 (MB/s) | load1 |
|---|---|---|---|---|---|---|---|---|---|
| pip | plain | 0.325 + 1.21 | 1.12 | 144 | 2.02 / 2.67 | 41 853 | 4 638 / 8 420 | 9 214 | 38.9 |
| npm | plain | 1.25 + 1.95 | 1.17 | 139 | 171 / 46 511 | 78 347 | 8 939 / 8 038 | 8 219 | 33.7 |
| maven | plain | 2.12 + 0.036 | 0.341 | 144 | 0.210 / 0.221 | 60 305 | 4 527 / 6 396 | 4 706 | 45.2 |
| helm | plain | 2.46 + 39.4 | 21.2 | 139 | 0.241 / 0.251 | 64 044 | 31 809 / 4 578 | 4 942 | 43.1 |
| apt | plain | 0.369 + 79.0 | 77.4 | 149 | 1.99 / 2.08 | 60 158 | 7 455 / 8 664 | 8 155 | 37.5 |
| dnf | plain | 0.368 + 103 | 98.3 | 157 | 2.77 / 2.92 | 56 535 | 4 275 / 9 578 | 6 752 | 37.1 |
| oci | plain | 0.009 + 0.007 | 0.018 | 180 | 3.90 / 4.69 | 38 860 | 591 / 5 444 | 3 680 | 47.7 |
| pip | chain | 0.021 + 28.1 | 5.21 | 191 | 1.30 / 1.61 | 36 440 | 2 513 / 3 949 | 7 515 | 56.1 |
| npm | chain | 0.024 + 25.6 | 5.75 | 177 | 2.65 / 5.65 | 58 757 | 9 135 / 8 217 | 8 666 | 48.8 |
| maven | chain | 0.017 + 24.1 | 4.44 | 175 | 2.43 / 3.03 | 65 918 | 5 673 / 8 005 | 7 835 | 44.9 |
| helm | chain | 0.026 + 26.6 | 5.69 | 166 | 2.52 / 3.15 | 71 105 | 32 485 / 4 677 | 2 763 | 42.9 |
| apt | chain | 0.029 + 46.8 | 10.7 | 177 | 4.50 / 4.94 | 54 846 | 6 081 / 7 045 | 7 671 | 43.1 |
| dnf | chain | 0.017 + 30.1 | 6.76 | 191 | 5.24 / 6.26 | 53 758 | 4 166 / 9 379 | 9 263 | 36.5 |
The chain held 304 AVAILABLE files: every set above but OCI, landed through the intake chain with the sandbox off (the scan worker's container is not what this measures). The intake policy refused 5, which the chain rows do not serve: distlib-0.3.9-py2.py3-none-any.whl, numpy-2.1.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl, pip-24.2-py3-none-any.whl, setuptools-75.1.0-py3-none-any.whl, virtualenv-20.26.6-py3-none-any.whl.
Documentation
docs/v2/README.md: what Holger is, install, the RON, the intake chain, pairing, the Build Thing, the supply chain, the estate, security and the reference. The earlier pages are in docs/v1/.
On gunnar.rs, pages below the top folder are shown to signed-in users only for now. Guests read the same file raw: https://www.gunnar.rs/api/repos/nordisk/holger/raw?path=docs/v2/README.md
Release provenance (SLSA Build L2; why not L3 is said there): docs/v2/07-build-thing.md,
the bundles in attestations/ and the release key in slsa/.
Development: run git config core.hooksPath .githooks once per clone; the hooks keep this
README (generated from .nornir/README.md) and the AI-context packs in sync.
Contributing, security and changes
- CONTRIBUTING.md: how to get the code, report a bug and propose a change.
- CLA.md: the Contributor License Agreement (version 1.1) that every outside contribution needs; accept it with one line in CLA-SIGNATURES.md.
- SECURITY.md: how to report a vulnerability privately (holger@holger.rs).
- CHANGELOG.md: what changed in each release, and the vulnerabilities each one fixed.
License
AGPL-3.0-only, © 2026 Vetra Automation AB and Ignalina ApS (Rickard Ernst Björn Lundin) (jointly owned in equal
shares, 50/50). Commercial terms are available from both co-owners jointly; write to
gunnar@gunnar.rs. Versions published to crates.io on or before 2026-10-02 keep the
license they were published with (mostly MIT). See LICENSE, NOTICE,
COMMERCIAL-LICENSING.md, TRADEMARKS.md and THIRD_PARTY_LICENSES.md.