alpha
Login
or
Join now
jmrp.io
/
kleidos
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/jmrplens/kleidos. Kleidos — Hardware BLE password manager for ESP32-S3 (M5StickC Plus2, StickS3, M5Stack Gray, T-Deck, Cardputer)
jmrplens.github.io/kleidos/
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
kleidos
/
test
/
web
/
test_video_stream_auth
/
at
main
1 file
José M. Requena Plens
test(web): native coverage for encrypted backup handlers + /stream auth (P0-01/P0-04)
7w ago
0985be9d
test_video_stream_auth.cpp
test(web): native coverage for encrypted backup handlers + /stream auth (P0-01/P0-04) Add two new native Unity suites: - web/test_admin_api_encrypted_backup (16 tests): exercises handleExportEncrypted and handleRestoreEncrypted at the HTTP boundary — body-size gate (413), buffering gate, passphrase length guards (empty / too-short / too-long), wrong-passphrase 400, and the full round-trip 200 paths. Amalgam TUs pull in the vault stack; device-only symbols (BLE facade, RTC, extra NvsStore methods, heap query) are no-op-stubbed. - web/test_video_stream_auth (9 tests): exercises web::authlogic::isSessionTokenValid and toHexLower — the pure-logic predicates that back the /stream X-Stream-Token gate. handleStream is in an anonymous namespace under DEBUG_SERIAL_BUTTONS so the predicate is tested directly with kStreamTokenLen / kStreamTokenTimeoutMs constants. Add "passwor" to .typos.toml (intentional 7-char password fragment used as the too-short passphrase fixture, consistent with existing secur/encryp entries). 1371/1371 native tests pass; sticks3_debug builds clean. Claude-Session: https://claude.ai/code/session_01SLSU3WoYEyX1J7qWXxmyKo
1 month ago