Skip to content

Check the saved key file before publishing - #19

Merged
vqsierra merged 1 commit into
mainfrom
verify-saved-key-file
Nov 14, 2026
Merged

vqsierra merged 1 commit into
mainfrom
verify-saved-key-file

Conversation

@vqsierra

Copy link
Copy Markdown
Contributor

Updates to @malverdesoftware/session-client 0.2.0 (published with provenance) and adds a step to the publish flow. After downloading the key file, the researcher opens the copy they saved. verifySessionFile confirms it opens this session's definition and responses and matches the session in memory. Publish stays disabled until that check passes and the second copy is confirmed. The check runs locally; nothing is sent.

It catches a damaged, wrong or outdated key file while the session can still be prepared again. It can't check passcodes, which only the relay can verify.

Checks: npm run verify (environment, UI check, lint, 22 tests, typecheck, build, build check) and npm run test:console against a local console all pass. The smoke test now goes through the new step.

The publish steps now ask the researcher to open the key file they saved.
session-client 0.2.0's verifySessionFile confirms it opens this session's
responses and matches the session in memory. Publishing waits for that
check and the second copy.
@vqsierra
vqsierra merged commit b216509 into main Nov 14, 2026
2 checks passed
@vqsierra
vqsierra deleted the verify-saved-key-file branch November 14, 2026 06:43
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