Skip to content

feat(console): show the device code while a request waits - #18

Merged
enricobuehler merged 4 commits into
mainfrom
feat/device-code
Nov 12, 2026
Merged

enricobuehler merged 4 commits into
mainfrom
feat/device-code

Conversation

@enricobuehler

Copy link
Copy Markdown
Member

Stacked on #17: its commits show here until it merges.

What changes

  • Pins punktfunk at 6e1381e3e, the merge of unom/punktfunk#2413 (typed hosts pair by PIN) on top of #2405 (device code), in Cargo.toml, scripts/pins.env and docs/pins.md.
  • While a request for access waits, the console shows this device's code: the first sixteen digits of its certificate fingerprint, in fours. The host's web console shows the same code beside the request.
  • The core now takes the host's fingerprint as a required argument. A row whose fingerprint does not parse fails the request; it no longer asks with no pin. The console already offered a request only for a row with a fingerprint.

Verified

  • Mac: cargo fmt --check, clippy -D warnings, cargo test --workspace (93 passed).
  • Console target in the toolchain image: cargo-ps5.sh check and cargo-ps5.sh clippy -- -D warnings, both exit 0.
  • All run against f127d7273, the PR head that 6e1381e3e merged; identical sources for every crate this title builds.

Not verified

Nothing ran on a PS5. The CI host job's Linux leg (pf-ps5-vk on lavapipe) was not run locally.

CI

pins.env changed, so the console job's toolchain cache misses and rebuilds.

enricobuehler and others added 4 commits November 11, 2026 22:19
The kit now draws a character Geist lacks from faces the host hands in, which the console needs for Han, kana and Hangul. The pin also brings the screen pick; this client fetches no screens, so its rows carry none and the command is a no-op.
Skia here has no font manager, so a Japanese, Chinese or Korean game title or host name drew as boxes. The sandbox mounts the system's fonts under its random word; the title reads the Japanese, Chinese and Korean faces from there, the system language's own first so Han takes that region's shape. Nothing is bundled.
The font file names come from a 4.03 sandbox listing and the PS4's table, not from this console. One probe run shows what the title can read, so a renamed face is a one-line fix.
Pins punktfunk at 6e1381e3e, the typed-host merge. While a request for access waits, the console shows this device's code: the first sixteen digits of its certificate fingerprint, which the host's web console shows beside the request.

The core now takes the host's fingerprint as a required argument. A row whose fingerprint does not parse fails the request; it no longer asks with no pin.
@enricobuehler
enricobuehler merged commit 2e6e11c into main Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant