One command gets a SourceLess node running, verified, on Linux, macOS or Windows. This page is what the installer does, what it refuses to do, what has actually been run, and — the part that decides whether any of it is worth having — what an installed node can and cannot join today.
# Linux, macOS — from the root of a checkout
sh deploy/install/brokkr.sh --network dev
# Windows
powershell -ExecutionPolicy Bypass -File deploy\install\brokkr.ps1 -Network devBoth scripts live in deploy/install/. Both are generated by scripts/brokkr.mjs through
scripts/pharos.mjs; node scripts/pharos.mjs --check fails if either has been hand-edited or
if a default they carry has moved in the code.
The path is in the command and not only in the sentence after it. This block read
sh brokkr.sh --network dev, with the directory named in the following paragraph. MEASURED
2026-09-12 by a reader who copied the first command in the document, which is what a first
command is for: sh: brokkr.sh: No such file or directory, exit 127, from the root of a
checkout and from anywhere else in it. The curl | sh form in §2 is unaffected — it pipes bytes
rather than naming a file — and this is the form somebody with a clone uses.
Every claim below is labelled. MEASURED means it was observed by running the thing named,
with the output recorded here. REASONED means it is an argument from code that was read.
UNMEASURED means nobody has run it and this page will not pretend otherwise.
Where the measurements came from. MEASURED, 2026-09-08, on Windows 11 (10.0.26200), Node
v22.14.0, npm 10.9.2, Windows PowerShell 5.1.26100.9278, Docker 27.5.1 with Linux containers,
from commit 06975c1. The Linux runs are inside
node:22-bookworm and debian:bookworm-slim. There is no macOS host and no systemd in this
environment; §7 says exactly what that costs.
1. The short version#
| What it installs | one node, in its own prefix, with its own data directory, ports, keystore passphrase and pinned chain identity |
| What it will not do | guess a network · install an unchecksummed download · take a port it did not check · leave keys unsealed by accident · invent a peer |
| How you check it worked | --verify --json, exit 0 or 1, no reading required |
| What it produces that can join a network | nothing, today. §6. |
2. curl | sh, and why this one is defensible#
The idiomatic form of "one command" is
curl -fsSL https://…/brokkr.sh | sh -s -- --network devand security people are right to object to it. It hands a remote host a shell on your machine,
the bytes that run are not the bytes you read, and a server can serve one script to curl and a
different one to a browser. Nothing here makes that objection go away. What is available is
the defensible version, and each of these is a property you can check before trusting it:
- It is readable. One file, no minified section, and it fetches no second script. Everything it would do to your machine is in it.
--dry-runperforms nothing and prints every command it would run, in order, with the arguments filled in.MEASURED: after--dry-runwith a fresh prefix, the prefix does not exist. That assertion is a CI step, and it is the one that keeps a dry run from becoming a best-effort dry run: every mutation in the POSIX script goes through onerun()function, so a step that forgot it would create the prefix and fail the check.- It verifies what it downloads. The binary channel takes
--sha256or it stops. There is no--insecureand no fallback that skips the check, because a fallback is what an attacker uses: an installer that verifies when it can and proceeds when it cannot verifies nothing. - It pins what it installed. The chain identity is recorded at install time and
--verifydiffs against it, so an upgrade that quietly moves the chain is caught here rather than by your node halting three days later. - It refuses rather than guesses. No network, no install. No checksum, no download. A port it
could not probe is reported
UNCHECKEDand never as free.
What it cannot give you today. There is no signature. This project publishes no signing key
and no SHA256SUMS, so there is nothing to verify a release against beyond a digest you obtained
some other way. "Verified" here means "matches the digest you supplied", which is exactly as
strong as the channel the digest reached you through. §8 lists what would have to be published.
3. The network must be named#
strblk node refuses to start without one of --network, --genesis or --dev. Brokkr refuses
for the same reason and with the same words. The refusal exists because the old default silently
started the development chain in development mode, where a block from any well-signed producer
is accepted — an operator who meant a real network and forgot a flag got an open door and no
error. An installer that supplied a default would put that back, one layer above where the node
can see it.
MEASURED, re-taken on 2026-10-29 from deploy/install/brokkr.sh in this tree:
$ sh brokkr.sh
brokkr: --network is required, and there is no default.
…
Realms this build knows (src/core/snotra.ts):
dev chain id 31337 development launched
midgard chain id 131313 production launched
asgard chain id 1313 production launched
$ echo $?
2Until 2026-10-29 this block showed asgard … NOT LAUNCHED - a node refuses to start on it, which
the installer stopped printing when Asgard's record moved to an operator genesis.
The realm table is generated from NETWORKS in src/core/snotra.ts. Nothing about it is typed
into the installer, and a test asserts each row matches the register.
Two further refusals fall out of the same register:
- A realm whose genesis is a file stops without the file.
MEASURED2026-10-29:--network asgardalone exits 2 with "realm asgard carries no genesis in this build; pass --genesis FILE". Asgard's genesis is a file, published beside the installers, and is not compiled in. This bullet quoted "'asgard' is not launched, and this installer will not pretend otherwise" until 2026-10-29; that refusal was for a realm with no genesis at all, and Asgard is no longer one. - A realm with publishable keys says so.
devandmidgardboth carrykeyProvenance: published, so the install prints, in full width, that every address on that realm derives from a string in this repository and that no balance or signature on it is evidence of anything.
4. Ports, and the failure they cause#
All three endpoints — Astrolabe (operator, /health and /metrics), Iris (public JSON-RPC) and
Gungnir (the operating surface) — bind loopback on fixed default ports. A second node on one host
takes none of them unless it is told otherwise.
What actually happens when a port is taken is worse than a crash. MEASURED on this host:
two nodes started with default ports, one after the other. Neither failed. Both printed an alert
to stderr and NOT LISTENING on stdout, and both kept running with exit code 0:
[ALERT WARNING] astrolabe/endpoint-not-bound: the operator endpoint could not listen on
127.0.0.1:8081 (listen EADDRINUSE …); this node is running and cannot be read
operator endpoint NOT LISTENING — see the alert above
public RPC NOT LISTENING — see the alert aboveSo it is not literally silent — it is loud on a stream nobody is tailing. Under a service manager
those lines go to a journal and the unit reports active. A "successful" install produces a
running node that no wallet can reach and no operator can read.
It is not hypothetical, either. On the machine this was written on, ports 8081 and 8083 were
already held at the start of this work by an orphaned strblk node --dev from an earlier audit
run — so the defaults were not free on a real developer's machine.
What Brokkr does. It probes the three ports as a block before installing:
- Free → uses them.
- Taken and
--auto-portsnot given → refuses, and prints the exact flags for the next free block.MEASURED: with something on 8081,--ops-port 8091 --dashboard-port 8092 --rpc-port 8093, exit 2. - Taken with
--auto-ports→ moves all three by the same offset, so a second node is 8091/8092/8093 rather than three numbers from three neighbourhoods.MEASURED. - No probe available on the machine → says
UNCHECKEDand never "free".
The probe tries nc, ss, lsof, node, then curl, in that order. curl is last and it is
there because of a measured false pass — see §5.
The docker channel does not compete for host ports at all, because the endpoints bind the
container's loopback in the container's own namespace. MEASURED: before that was handled, a
docker-channel install refused with a port collision it could never have had.
5. Verification: six checks, and why each one exists#
The point is that an install can be checked without a person reading output. --verify --json
prints one object and exits 0 or 1.
{"network":"dev","chainId":"31337","genesisHash":"8ee28b94…","holder":"pass","identity":"pass",
"astrolabe":"pass","iris":"pass","gungnir":"pass","chain":"pass","peers":"1",
"failures":0,"warnings":0,"verdict":"pass"}| # | check | the failure it catches |
|---|---|---|
| 0 | holder — .cerberus.lock names a pid and the endpoint that node actually bound | the endpoint answering belongs to a different node, or to none |
| 1 | identity — strblk genesis --identity diffed against the pin taken at install | the build now computes a different chain |
| 2 | astrolabe — /health is 200 | the node runs and cannot be read |
| 3 | iris — /health is 200 | no wallet, dapp or explorer can reach it |
| 4 | chain — the RPC's own genesis method vs. the pin | the node came up on the wrong chain |
| 5 | gungnir — the dashboard answers | no operating surface (a warning, not a failure) |
| 6 | peers | installed, running, and alone |
Checks 1 and 4 are the pair worth having. 1 asks the build what chain it computes; 4 asks the
running node what chain it is on. An artifact swapped under a live install fails 1; a node
pointed at another genesis fails 4; a consensus change that moves state at height 0 fails both.
The pin is all three digests, for the reason .github/workflows/ci.yml gives at length:
genesisHash covers the spec and does not move when the code that executes the spec changes,
and a change to how state is computed is exactly a consensus change.
MEASURED, the wrong-chain check firing: a node running dev was verified against a Midgard
pin. Identity passed (the build does compute Midgard's digests), and check 4 failed —
the pin shown is Midgard I's, which is what the run was taken against; the current one is
e88a8753…, and the check behaves the same way.
FAIL the running node is on genesis 8ee28b94…, the install pinned 102d5848… - WRONG CHAIN
{"…","chain":"fail","verdict":"fail"} exit 1MEASURED, verification failing when there is nothing to verify: with the node stopped,
--verify exits 1 on "no .cerberus.lock in … - nothing holds this data directory". A checker
that only ever passes is not a checker, and this is the cheapest proof that this one can say no.
5.1 The false pass this check was written for#
MEASURED, and it is the most useful thing this work found. On debian:bookworm-slim there is no
nc, no ss, no lsof and no node, so the port probe reported UNCHECKED; a second install
took the default ports while the first node still held them; the second node's endpoints bound
nothing; and verification reported identity, /health, /health, the served genesis and one
peer — all green, all read off the first node.
Two fixes, both measured afterwards:
curlwas added to the port probe, sincecurlis on that image and everywhere else that can download an installer at all, and its exit code 7 is "failed to connect". The second install now refuses the collision.- The Cerberus lock became check 0.
src/ops/cerberus.tsrecords into<datadir>/.cerberus.lockthe pid holding the directory and the operator endpoint the node actually bound —nullwhen the bind failed. So the lock answers both halves at once: is a node of ours running, and is the socket about to be questioned its socket. The operator endpoint is then probed at the address the lock names, not at the address the config wanted.
MEASURED afterwards, a node deliberately started on a port another node held:
FAIL the node holding /srv/b/data/dev bound NO operator endpoint
(.cerberus.lock records endpoint: null).
{"holder":"fail","verdict":"fail"}Iris and Gungnir are not in the lock, so a socket answering on their ports cannot be tied to this install from outside the way the operator endpoint can. What stands behind them is the port check at install time, and where that could not run the verification says so rather than letting two green ticks carry more than they are worth.
6. The seed list — read this before deciding autoinstall works#
Asgard has a built-in seed list: PUBLIC_SEED_PEERS in src/core/snotra.ts names the seven seeds
the Asgard download page publishes, so an Asgard node installed without --peers dials them. Dev
and Midgard have none, and rpcUrls and explorerUrls are empty for every realm, so a dev or
Midgard node installed without --peers has nobody to dial. It still verifies everything it holds —
that is what makes the network hostless — but it joins nothing, and its height stays where the
genesis put it.
Pass --peers host:port,... to name the mesh yourself; it always replaces the built-in list. This
installer will not fabricate a peer.
Since 2026-10-26. The seven are asgard.xplstr.org:47001-47007, the same list as
asgard-seeds.txt. tests/integration/public-seeds.integration.test.ts re-derives them from
launch/asgard-public-hosts.json and the seat manifest, and himinbjorg refuses to publish if the
two differ. All seven are on one host. Before that date no realm had a built-in list, and the rest
of this section is the reasoning that still governs dev and Midgard.
Concretely, this is what has to exist before "autoinstall" produces a node that can join anything:
- Nodes running somewhere reachable, for at least one realm. Midgard's genesis is committed and pinned; no Midgard node has a published address.
- Those addresses on the
NetworkRecord—rpcUrls, and a peer list alongside it. The register is already the thing a node checks its genesis against, so it is the right place, and putting them anywhere else creates a second source of truth about what a network is. - A way to trust the list. The genesis hash pin already means a hostile seed cannot make a node accept a different chain — the worst a bad seed can do is waste a connection. That is why a seed list is a much smaller trust problem than it looks, and why fabricating one anyway would still be wrong: an address that does not answer is a node that reports zero peers and an operator who cannot tell a dead seed from a broken install.
What Brokkr does about it today: --peers host:port,… is passed through to the node, and the
verification distinguishes the two cases.
- No
--peersand 0 peers → a warning, with the paragraph above printed in full. Zero is the correct outcome, and it is not silently fine. --peersgiven and 0 peers → a failure. The node reached none of them.MEASUREDwith two nodes and--peers:"peers":"1","verdict":"pass", 0 warnings.
--strict turns the warning into a failure, which is what a pipeline should use.
7. Service management#
| platform | what Brokkr does | status |
|---|---|---|
| Linux with systemd, as root | installs deploy/systemd/strblk-node.service, an env file at /etc/sourceless/, a ReadWritePaths drop-in, creates the sourceless user, daemon-reload, enable --now | unit parsed, never run |
| Linux without systemd, or not root | prints the exact command, and says root is what is missing | MEASURED |
macOS, only with --service launchd asked for by name | writes a LaunchAgent plist and bootstraps it | UNMEASURED |
| Windows | -Service task registers a Scheduled Task at logon | MEASURED — and it failed |
| docker | nothing. Restart policy belongs to the container runtime | MEASURED |
--service auto never chooses launchd, and this row used to imply it did. MEASURED
2026-09-12 on darwin 25.6.0: a default install on macOS printed "no service manager wired. Run
it with: <prefix>/bin/strblk-node-dev". The resolution is two lines in the script — systemd
only, and only as root with systemctl present; everything else becomes none. That is the right
default for a plist nothing has ever loaded, and the table should say which flag you have to type
rather than leaving a reader to assume auto covers their platform.
There is no stop command, on any platform, with --service none. MEASURED on the same run:
the install summary prints the ops URL, the RPC URL, the dashboard URL and the re-verify line, and
nothing that stops the node it just started. A pid file is written — <prefix>/strblk-<network>.pid
— so the answer is kill -TERM $(cat <prefix>/strblk-<network>.pid), and a clean stop was measured
through it: the node logged SIGTERM — snapshotting local state, released its Cerberus lease, and
freed all three ports. Under a service manager the manager's own stop is the answer and this does
not arise; it arises on exactly the path a first-time reader takes.
7.1 systemd — REASONED, but the unit is now parsed, and that found two real defects#
There is no systemd on this host, so no unit in this repository has ever been started by
systemd. What became possible is parsing it: systemd-analyze verify needs systemd installed,
not running, and debian:bookworm-slim plus apt-get install systemd provides it.
The first time deploy/systemd/strblk-node.service was put through it, MEASURED (systemd 252):
/etc/systemd/system/strblk-node.service:77: Unknown key 'StartLimitIntervalSec' in section [Service], ignoring.
/etc/systemd/system/strblk-node.service:87: ReadWritePaths= path is not absolute, ignoring: ${SOURCELESS_DATA_DIR}Both are real, and both had been in the file since it was written:
StartLimitIntervalSecandStartLimitBurstwere in[Service]. They moved to[Unit]in systemd 229 and the old spelling is accepted-and-dropped rather than refused. The burst limiter the unit's own comments reason about at length — "after 5 failures in 10 minutes systemd gives up and leaves the unit failed" — did nothing at all. A node that could not start would have restarted every 5 seconds for ever, burying its own reason in the journal it was flooding.ReadWritePaths=${SOURCELESS_DATA_DIR}was dropped.ReadWritePaths=does not expand environment variables. Dropped, underProtectSystem=strict, leaves the node with no writable path at all — it could not have written its own data directory. The unit as it stood could not have run a node.
Both are fixed: the limiter is in [Unit], ReadWritePaths is the literal /var/lib/sourceless,
and brokkr.sh --service systemd writes any other data directory as a drop-in at
/etc/systemd/system/strblk-node.service.d/10-datadir.conf rather than editing the unit.
MEASURED after the fix: systemd-analyze verify exits 0 with no output, for both the
Node-and-dist/ unit and the single-file-executable one.
The two units come from one function (systemdUnit in scripts/brokkr.mjs) applied twice,
because systemd expands variables in an ExecStart's arguments and not in its executable —
so a Node install and a binary install need different first lines and identical everything else,
and one function is the only way to promise the "identical everything else".
Still REASONED: everything the unit will do once installed. Parsing is not running.
7.2 macOS — the INSTALL is now measured, the LaunchAgent is still not#
The source channel on macOS is MEASURED, 2026-09-12, on darwin 25.6.0, Node v22.22.3, npm
10.9.8, from a checkout passed as --source-dir. Everything except the service wiring ran:
npm ci --ignore-scripts → npm run build → 32 bytes from /dev/urandom sealing the keystore at
mode 600 → all three digests pinned → env file and runner written → node started → six checks.
ok pid 16463 holds …/data/dev and bound http://127.0.0.1:8081
ok identity matches the pin taken at install
ok astrolabe /health 200 on 8081
ok iris /health 200 on 8083
ok gungnir answers on 8082
ok the running node serves genesis 8ee28b94… - the chain it is on is the chain installed
WARN 0 peers. This node validates what it holds and has joined nothing.
Installed and verified: 0 failure(s), 3 warning(s).Exit 0. The three warnings are development mode, published keys and zero peers — all three
correct. The port-collision refusal was measured on the same host, with a second install refused
at the port step and told --ops-port 8091 --dashboard-port 8092 --rpc-port 8093, exit 2; and
--auto-ports moved the whole block as documented. So the row in §8's channel table that read
"MEASURED on Windows and in node:22-bookworm" now has a third platform under it, and the
"there is no macOS host" sentence that stood here was true when written and is not now.
The LaunchAgent is still UNMEASURED, and deliberately out of the default path. The plist is
written from Apple's documented schema and nothing more; neither it nor the launchctl bootstrap
beside it has ever been loaded, and --service auto does not choose it (see the note under the
table above) — so a macOS install reaching this code requires an operator to type
--service launchd. The installer prints that as a warning at the point of writing the file rather
than leaving it in a document. KeepAlive restarts on exit and is not the burst limiter systemd
gives, so a node that cannot start will loop there rather than stop.
7.3 Windows — measured, and it failed#
There is no equivalent of systemd. A Windows service needs a binary implementing the service
control protocol, which strblk does not and should not; the honest options are a third-party
wrapper — which this installer will not download — or a Scheduled Task.
MEASURED: -Service task from an unelevated PowerShell 5.1 on this host returns
WARN the Scheduled Task was NOT registered: Access is denied.(Register-ScheduledTask, HRESULT 0x80070005). The install itself completes; only the service
wiring does not, and the script says which and what to do about it rather than aborting a working
install over it. A task at logon is also not equivalent to a unit: it does not start before
somebody logs in, and RestartCount is not StartLimitBurst — a task that cannot start keeps
being restarted rather than left in a failed state something can alert on.
8. The three channels#
| channel | needs | status |
|---|---|---|
source | Node ≥ 22.11 and git (or --source-dir) | MEASURED on Windows and in node:22-bookworm |
binary | a URL and a --sha256 | MEASURED in debian:bookworm-slim, with no Node on the image |
docker | docker | MEASURED on Windows against a locally built image |
8.1 source#
Clones (or builds in place), npm ci --ignore-scripts, npm run build. --ignore-scripts for
the reason CI and the Dockerfile both give: install hooks are where the npm supply-chain worms of
2025–26 ran, and nothing here needs a build step at install time.
MEASURED, Linux, root, default prefix /opt/sourceless: clone → build → seal → pin → start →
verify, Installed and verified: 0 failure(s), 3 warning(s), exit 0. The three warnings are
development mode, published keys, and zero peers — all three correct.
MEASURED, Windows, with the prefix set to a scratch directory: same, exit 0, with the identity pin matching and
the running node serving 8ee28b94….
8.2 binary — the checksum gate, and why it refuses today#
scripts/package-sea.mjs refuses to cross-build, so the Linux executable can only be produced on
Linux. One was built in node:22-bookworm for this test: 133.4 MB,
de417d9127fa4535a0c95c997db733aaa87648e7dde79840480ae0d322054c22.
MEASURED, three attempts, on debian:bookworm-slim with command -v node empty:
1. no --sha256 at all → "the binary channel refuses to install a download it has not
checksummed", exit 2
2. wrong --sha256 → "CHECKSUM MISMATCH - the download was deleted and nothing was
installed", and /srv/bad/bin is empty
3. correct --sha256 → "sha256 de417d91… matches", install, start,
"Installed and verified: 0 failure(s)", exit 08.2.1 The checksum said yes and the kernel said no#
MEASURED, 2026-09-21, and it is the reason there are now two gates rather than one.
Attempt 3 above is the whole of what this channel used to check. A checksum answers are these
the published bytes; it does not answer can this machine execute them, and until 2026-09-21
nothing asked the second question. An x86-64 strblk downloaded onto an aarch64 host therefore
passed the digest, printed sha256 … matches, was installed, was chmod 755'd, and then died on
its first invocation with:
/usr/local/bin/strblk: cannot execute binary file: Exec format error— a message that names neither the cause nor the fix, arriving after the installer had said the
download verified. Both architectures are real: the tree builds and passes 5,092 tests on Ubuntu
24.04 arm64 with genesis digests byte-identical to x86-64. And both were called strblk, because
scripts/package-sea.mjs read process.platform and never process.arch.
Brokkr now reads the ELF header of the file it downloaded — the magic, then e_machine, a
16-bit little-endian field at offset 18 that the linker writes — and compares it with uname -m.
The order is deliberate and is asserted in CI: digest first, so a refusal here cannot be mistaken
for a checksum failure; the install last, so a refusal leaves nothing on disk.
4. right --sha256, wrong architecture → "WRONG ARCHITECTURE - the download was deleted and
nothing was installed", naming this machine and the
download, exit 2Where it could not look — no od on the host, or a uname -m this installer has no name for
— it prints architecture UNCHECKED and carries on. That is the same rule this script applies to
a port it could not probe: a check that could not be performed is not a check that passed, and
saying so is not the same as refusing.
On Linux it reads the ELF header, and on macOS the Mach-O header the same way
(DOWNLOADS.md §1.1). brokkr.ps1 makes no such check, deliberately: a Windows-on-ARM host
runs x64 binaries under emulation, so the refusal would refuse a combination that works.
The mapping, if you are choosing a download by hand: uname -m of x86_64 or amd64 wants the
x64 artifact; aarch64 or arm64 wants arm64. dist-release.json names both on every
row, and docs/DOWNLOADS.md §1.1 says where those names come from.
This channel refuses in normal use today, and that is the honest state. There is no published
release, no SHA256SUMS and no signing key, so the digest has to reach an operator some other
way. What would have to be published for the one-command form to be real:
- A tagged release with the artifact attached. The CI already does this on
v*tags; nothing has been tagged. - A
SHA256SUMSfile beside it, so--sha256can be fetched rather than typed. - A signature over that file, and a public key published somewhere with a different compromise
profile from the release host. Without step 3, a digest and the file it describes come down the
same pipe and an attacker who controls one controls both. Brokkr has no signature verification
yet, because there is no key to verify against; adding a
--minisign-shaped flag that nobody can use would be worse than the gap.
8.3 docker#
MEASURED on Windows against a locally built image: install, start, verify, holder: pass with
pid 1 holds … and bound http://127.0.0.1:8081.
Two things are true of this channel and are printed by the installer:
- Nothing is published to the host. The endpoints bind loopback inside the container, and a
non-loopback bind is refused without a TLS statement — so
-pwould forward to a socket that is not there. Verification therefore runs throughdocker exec. To reach the endpoints from the host you need a TLS terminator in front and--ops-behind-tls-proxy, which is an assertion this installer will not make on your behalf. - The passphrase is on the command line. It is passed as
-e, so it is visible todocker inspectand to anything that can read the host's process list. That is a real weakening compared with the 0600 file the other channels use, and it is warned about at the point it happens.
While building the image for this test, MEASURED: docker build . at 06975c1 failed.
tests/integration/cepheid.integration.test.ts reads deploy/ and the Dockerfile itself, and
neither was ever copied into the build stage — five tests failed with ENOENT inside the image
while all 2509 passed outside it, and it had been that way since the commit that added them. Two
COPY lines fix it; the image now builds with 2609/2609 passing inside it. Nothing had noticed
because the container CI job has never been executed in this environment. It was found by
running the build, not by reading the file.
9. Keys at rest#
Sealed is the default path, because unsealed is the one that costs something later. Without
SOURCELESS_KEY_PASSPHRASE the node writes its ed25519, ML-DSA-65 and ML-KEM-768 secrets in the
clear and prints a full-width banner at every start — and a banner at every start is a banner
nobody reads by the third day.
--seal | what happens |
|---|---|
file (default) | 32 bytes from the OS CSPRNG, stored 0600 (POSIX) or ACL'd to the installing user (Windows) |
prompt | read from the terminal, stored nowhere. The node cannot restart unattended |
env | uses SOURCELESS_KEY_PASSPHRASE from the environment |
none | unsealed, with the cost printed |
What the default buys, exactly. The keystore is encrypted at rest under scrypt, so a copy of
the data directory alone — a backup, an image layer, a snapshot on a shared volume — is not an
identity. It does not protect against anyone who can read the whole prefix, because the
passphrase file is in it. --seal prompt is the answer to that, at the cost of a node that cannot
restart on its own.
The 32 random bytes are a secret being generated, which is the one place randomness belongs on a production path; nothing else Brokkr writes is randomised, simulated or a placeholder.
MEASURED: after a default install, the passphrase file is mode 600, and
data/dev/identity.json does not contain Fafnir's UNENCRYPTED SECRET KEYS banner — which is
the check, because that banner is stamped into any keystore written in the clear. On Windows the
ACL is used instead of chmod, because src/node/keystore.ts says out loud that a POSIX mode is
very nearly a no-op there. MEASURED and fixed on the way: granting (R,W) with inheritance
removed produced a file the installing user could not delete, because delete is its own right;
the ACE is (F) now, since its job is to exclude other accounts and not to restrict this one.
10. Flags#
Run sh deploy/install/brokkr.sh --help or brokkr.ps1 -Help for the current list. The ones worth
knowing:
--network KEY required; no default
--genesis FILE a genesis file, checked against --network when both are given
--prefix PATH install root. /opt/sourceless as root, else ~/.sourceless
--dir PATH the node's data directory
--channel C source | binary | docker | auto
--source-dir PATH build from a checkout you already have
--binary-url URL a prebuilt executable …
--sha256 HEX … and its digest, without which the binary channel stops
--auto-ports move the whole port block rather than refusing a collision
--peers LIST host:port,host:port. Read §6 before deciding you do not need it
--p2p-port N the port this node ACCEPTS connections on. Unset is ephemeral, which
moves on every restart — so a seed needs this and a follower does not
--advertise HOST the address peers should dial back on. Without it advertisedEndpoint
is null and nobody can be told where this node is. REQUIRED for a seed
--block-interval MS 0 (the default) follows and never seals. Non-zero makes this node a
producer — see the note below before choosing one
--class C pulsar | quasar | supernova. A pulsar keeps no state
--seal file|prompt|env|none
--service auto|systemd|launchd|none (task|none on Windows)
--verify check an install that already exists, then exit
--json --strict machine-readable verdict; a warning becomes a failure
--dry-run print everything, change nothingFour of those were missing from this list, and one of them decides whether the node you
installed ever advances: --block-interval defaults to 0, which means follow and never seal.
Combine that with §6 — no seed list on dev or Midgard, so no peers unless you name them — and a default install there is a
node that seals nothing and follows nobody. Its height stays at 0 for ever, correctly, and
--verify reports it as a pass with a warning. That is the honest state of a single installed
node and it should not be a surprise discovered later.
And a single node with a non-zero interval still does not advance on its own. MEASURED
2026-09-12: a dev node restarted with --block-interval 1000 sat at height 0 for 37 seconds with
sourceless_blocks_produced_total 0 and sourceless_seal_failures_total 0. That is by design —
hestia.ts:1392 returns before producing when the mempool and the identity queue are both empty,
because an empty block every second is a chain that grows without carrying anything. Height moves
when there is work. A submitted transfer is work; npm run testnet:seed is how the standing
network gets some.
11. What is configuration and what is evidence#
.github/workflows/ci.yml gains an installer job and a step in linux-binary. Neither has
run. gh is unauthenticated in this environment and act is absent, so anything touching CI is
configuration and not evidence. What makes it worth having anyway is that the commands in those
jobs are the same commands that were run by hand here — the two-node install, the checksum
refusal, the --dry-run assertion, the stopped-node verification and systemd-analyze verify are
each transcribed from a run recorded on this page.
tests/integration/brokkr.integration.test.ts is not a substitute for running the installer
either. What a test adds is that the properties those runs depended on cannot be edited away
quietly: that every port and realm in a shipped installer came from a registry, that the refusals
are still refusals, that the seed-list paragraph is identical in both scripts and in this
document, and that the two systemd defects of §7.1 cannot come back.
12. See also#
| RUNNING.md | from a clone to a network, an explorer and a dashboard, by hand |
| CLI.md | what strblk promises when a command does NOT go through |
| RUNBOOK_OBSERVABILITY.md | what watches the node once it is installed |
| RUNBOOK_ROLLBACK.md | taking a version back out |
| NAMING.md | Brokkr's registry entry, and why the name is a constraint |
| POLARIS.md | a whole standing network, for this repository's own use |
| DOWNLOADS.md | which artifacts exist, which architecture each is for, and how weak the integrity story is |
| ../app/README.md | Argo, the application: one window over the wallet, the explorer and the console, with a node it starts itself — and what each platform it does not exist on would need |