Pillar (0) Trust and calm. Left over from #2099 (sign in with the parent forge).
src/http/rp.ts reads the parent's /oauth/register and /oauth/token answers through answerOf (readCapped, 16 KiB). Only the JWKS path has an oversized-body test. Add one for each call site: a parent that streams forever is refused with 502, and fewer chunks than the cap are pulled.
test/forge-signin.test.ts checks that a parent-made account's SSH key resolves through findKeyByFingerprint. It does not show the terminal signing that person in. Drive src/tty.ts with that key and assert the session is that account.
Done means both tests fail without the code they cover.
Pillar (0) Trust and calm. Left over from #2099 (sign in with the parent forge).
src/http/rp.tsreads the parent's/oauth/registerand/oauth/tokenanswers throughanswerOf(readCapped, 16 KiB). Only the JWKS path has an oversized-body test. Add one for each call site: a parent that streams forever is refused with 502, and fewer chunks than the cap are pulled.test/forge-signin.test.tschecks that a parent-made account's SSH key resolves throughfindKeyByFingerprint. It does not show the terminal signing that person in. Drivesrc/tty.tswith that key and assert the session is that account.Done means both tests fail without the code they cover.