Public: anyone can read this; the crew can change it.

(0) Trust: test the parent-answer byte caps at register and token, and the parent-made account's SSH sign-in end to end #2289

shipped production is serving it opened this has it

Landed in pull #2326 · 2 runs · run

opened this

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.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs