Repository navigation
hisn 0.6.7
0.6.6 was not released; 0.6.7 follows 0.6.5.
hisn 0.6.7 adds a blocking journal read for external callers and a
caller-provided ssh-agent socket. hisn journal --after-wseq N --wait [SECS]
blocks until a record after the cursor exists, then prints it exactly like
the non-wait path and exits 0; giving up after SECS exits 6
(E_WAIT_TIMEOUT), and a session ending while waiting (with no matching
records) exits 7 (E_WAIT_SESSION_ENDED). Exit 4 keeps meaning a real gap;
exit 5 is left unused and documented as such. Wake is via inotify on the
journal directory with a bounded 1 s poll fallback; the wait holds no
session lock and survives rotation.
hisn run --ssh-agent-socket PATH (mirrored as the profile [ssh] socket
key, CLI winning) hands the session's ssh-agent proxy a caller-chosen
upstream instead of the host's SSH_AUTH_SOCK; default off, and the
existing add/remove refusal is unchanged. Every sign request journals one
ssh/sign record (key fingerprint, seat, exec id, result — never the data
being signed, never the signature), and owner/member may sign while an
observer is refused. hisn capabilities --json gains journal-wait and
caller-agent-socket after the existing 11 names.
No wire change: no new control request, PROTOCOL_REVISION stays 4, and
tests/leak/compat_063.sh passes unchanged, so 0.6.3/0.6.5 clients keep
working against a 0.6.7 supervisor.
Added
hisn journal --after-wseq N --wait [SECS], with--jsonand--session
supported. Exit codes 6 (E_WAIT_TIMEOUT) and 7 (E_WAIT_SESSION_ENDED)
are new; the stop surface is documented beside 3/4.hisn run --ssh-agent-socket PATHand the[ssh] socketprofile key.- Journal records
ssh/signandssh/sign-summary. - Capability feature names
journal-waitandcaller-agent-socket.
Changed
hisn profile validate --jsonnow reports all post-parse errors
(deterministic, dedup'd order) instead of only the first. This is a
deliberate behaviour change to the JSON entry only; the text path stays
fail-fast, andok/exit codes are unchanged. A TOML parse failure still
stops with exactly one error.- The ssh-agent proxy now gates signs by seat role (owner/member sign,
observer is refused withSSH_AGENT_FAILURE), on both the env path and
the caller-socket path. This reverses the old allowlist-only behaviour
for observers. check_host_agenterror text now names the path actually checked
(a caller socket is no longer reported asSSH_AUTH_SOCK).
Fixed
- A late
exec-signalarriving while a detached exec drains could be
missed by the journal cause (computed before the signal landed). The
cause is now finalised under the sameexec_tablelock the signal
delivers through, so it cannot slip into the gap.
Leak suite: the portable subset runs in CI; host-only checks (user namespaces, rootfs, attach, leases) are verified on a real host before tagging — see the release notes for the host result. The aarch64 binary is built and started (--version) but has not been leak-tested. The glibc binaries (hisn-x86_64-linux-gnu, hisn-aarch64-linux-gnu) are dynamically linked and built natively on Ubuntu 22.04 (glibc 2.35 or newer required). The musl binary (hisn-x86_64-linux-musl) is statically linked. Verify with sha256sum -c SHA256SUMS. See README, "Verifying a build".