hyperhive/hive-ag3nt/assets
iris c10b4e26ef screen: fix MD5 rotation schedule and send root username
Two bugs found via the weston journal (issue #92):

1. MD5 rotation index used (j>>2 & 3) for the round number, which
   cycles every 4 steps instead of every 16. Verified against RFC 1321
   test vectors: md5("") was 7a1dce5b... instead of d41d8cd9... — the
   derived AES key was wrong, so the server decrypted the credentials
   to garbage. Fixed to j>>4.

2. weston's vnc_handle_auth calls getpwnam(username) and requires
   pw_uid == weston's own uid before PAM is consulted. We sent an empty
   username, which fails outright ("VNC: wrong user"). weston runs as
   root, so send username "root"; the empty password still passes via
   pam_permit.so on the weston-remote-access service.

Fixes #92
2026-05-20 21:47:27 +02:00
..
agent.css render message reply threads in dashboard and per-agent inbox 2026-05-20 15:29:47 +02:00
app.js render message reply threads in dashboard and per-agent inbox 2026-05-20 15:29:47 +02:00
index.html agent UI: show 🖥 screen link when gui_enabled 2026-05-20 14:39:11 +02:00
screen.html screen: fix MD5 rotation schedule and send root username 2026-05-20 21:47:27 +02:00
stats.html stats: add 1h, 4h, 3d time range windows 2026-05-20 20:23:09 +02:00
stats.js stats: per-bucket turns-by-model chart 2026-05-20 10:58:14 +02:00