Files
praxisandClaude Fable 5.2 60b6d4b7a5 Design records
59 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:48 +02:00

23 lines
1.4 KiB
Markdown

# In-memory Turtle authentication
`gw_native_authenticate_memory` borrows a bounded ASCII username/password buffer
for one synchronous call. It shares `LegacyLogin::authenticate` with the existing
file-input API: real Turtle SRP, server M2 validation, version proof and opaque
session-key ownership remain intact. No temporary password file is created.
LegacyLogin's owned input copies are wiped on success and exception; callers
must wipe their source buffers. This does not establish complete erasure of
all temporary buffers inside the existing SRP implementation. Realm discovery
and selection reuse the same authenticated handle.
Independent loopback fixtures exercise13 cases through both APIs, including
success, empty roster, invalid M2, unsupported PIN/group, zero public value,
authentication/proof rejection, integrity challenge, world failures and malformed
rosters. The memory ABI also rejects null, empty, oversized and non-ASCII inputs.
Ordinary CTest passed16/16 in15.09s; ASan/UBSan passed16/16 in15.70s.
This is a backend capability, **not verified native UI authentication or world
entry**. The separate UI-capture experiment failed before a credential submission
reached this API. Its fixed synthetic wrong-password test never reached the
password field; no actual password was entered. No live connection was made.
The capture experiment is disabled and retained separately for diagnosis.