Repository navigation
Commit 6a26036
committed
feat(busbar-150): 1.5.0 boots - auth chain empty, writable config dir for its signing key
Verified locally against the real image before spending another box: busbar
1.5.0 comes up and listens.
Two 1.5.0 requirements the 1.4.1 manifest never had to meet:
auth: chain: [] The 1.4.1 config on this board has NO auth block, and 1.4.1
permitted that. 1.5.0 refuses to run silently in that state.
chain: [] is busbar's own documented dev setting ('the open
front door: development only, loud startup warning') and it
is the only one that keeps the rows comparable - with a real
auth chain 1.5.0 would verify a signed key per request while
1.4.1 verified nothing, and the delta would be measuring
authentication rather than the gateway. Not a favour either:
busbar logs an ERROR and two WARNs about it every boot.
writable /work 1.5.0 generates and persists an ed25519 signing key next to
the config on first boot. /etc/busbar is read-only in the
image, so the config now mounts at /work with BUSBAR_CONFIG
and BUSBAR_PROVIDERS pointing there.
The stricter manifest schema earned itself again on this change: it rejected the
env map I first wrote ('invalid type: map, expected a sequence') at load rather
than letting a silently-ignored field reach a box.1 parent ec1ddeb commit 6a26036
2 files changed
Lines changed: 28 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
35 | 45 | | |
36 | 46 | | |
37 | 47 | | |
38 | 48 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 49 | + | |
| 50 | + | |
42 | 51 | | |
43 | 52 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| |||
0 commit comments