Commit Graph
1 Commits
Author SHA1 Message Date
sneak 5229769b3c Validate session snapshots and wipe keys on logout (closes #10)
check / check (push) Successful in 40s
Client.fromJSON checks every snapshot field and each key's decoded length
and throws an error naming the bad field. toJSON reads the token through a
new ApiClient.getAuthToken and throws when there is none. logout zeroes the
key buffers in place; collectionsSince re-checks for logout after its
request so it never decrypts with zeroed keys. The CLI now reports a
corrupt session file separately from a missing one.

Model: opus-5-5
2026-09-23 00:06:18 +00:00