Skip to content

Add a key file check and a command line to read a session without the app - #15

Merged
vqsierra merged 1 commit into
mainfrom
key-file-check-and-collect-cli
Nov 14, 2026
Merged

vqsierra merged 1 commit into
mainfrom
key-file-check-and-collect-cli

Conversation

@vqsierra

Copy link
Copy Markdown
Contributor

session-client 0.2.0.

  • verifySessionFile(markdown, expected?) proves a saved key file opens the activity definition and responses (its private key opens something sealed to its public key). With the in-memory file, it also refuses a copy from another session or an older participant list. Passcodes can't be checked locally; only the relay holds what they derive.
  • malverdesoftware-session verify <key-file> and collect <key-file> [--drafts] [--out file.json] read a session with only the key file and Node 24. --out won't overwrite an existing file and writes it with mode 600.
  • docs/DATA-VISIBILITY.md lists what leaves a device, what the relay stores, and what Cloudflare can see. It's linked from the README and spec.

Checks: all tests pass (87, 22 and 40), plus typecheck, build and the release dry run. Smoke-tested the built bin through a symlink. Nothing is published to npm yet.

mPile will call verifySessionFile in its publish steps after 0.2.0 is published.

… app

verifySessionFile proves a saved key file opens the definition and responses,
and with the in-memory file, that it is the same session and current.
The malverdesoftware-session command verifies a key file and collects
decrypted JSON with only the file and Node. docs/DATA-VISIBILITY.md lists
what the relay and Cloudflare can see. session-client 0.2.0.
@vqsierra
vqsierra merged commit 8efb4ba into main Nov 14, 2026
4 checks passed
@vqsierra
vqsierra deleted the key-file-check-and-collect-cli branch November 14, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant