Files
ESP32_Serial_Swiss_Army_Knife/tests/hidden_input/README.md
T

1023 B

Hidden credential input regression

From the repository root:

CCACHE_DISABLE=1 python3 tests/hidden_input/run.py

The host harness exercises production UART0/shared remote prompt handling and the extracted password-confirmation helper with synthetic input. It covers maximum capacity, sticky overflow (including differing suffixes and later backspace), unsupported bytes, cancellation, read failure, remote disconnect/revocation, confirmation rejection, secret-free output, remote CRLF handling and unchanged visible editing.

A rejected hidden prompt must return an error with zero length and wiped output, never a truncated credential prefix. These tests do not change password policy or persistence contracts.

The UART fake does not reproduce driver flushing or delayed paired-CRLF timing. No device, real transport or hardware validation is implied. Those checks are deferred to the combined Phase 9 target session.