Skip to content

feat(windows): end-to-end encryption for TablePro Sync - #4655

Merged
datlechin merged 5 commits into
feat/windows-sync-settingsfrom
feat/windows-sync-keys
Nov 28, 2026
Merged

datlechin merged 5 commits into
feat/windows-sync-settingsfrom
feat/windows-sync-keys

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • Interop: the end-to-end key calls on TableProSync (set-up, replace and recover with the recovery key, approval on both sides, devices and their removal, reset, notices, sign-out's erase); CoreError.StepUp and TableProAccount.StepUpAsync for RFC 9470 step-up.
  • Model flows ported from the macOS app, each over IKeyFlows and tested against a fake: RecoveryKeyFlow, RecoverFlow, ApprovalFlow (1.5 s polling, five words shown once, cancelled on close), RemovalFlow (recovery key, review of devices and teammates, seats, rotation), ResetKeys and ResetProposal, AccountKeysPage, KeysSignOut, StepUpRetry.
  • Settings > Sync > End-to-end encryption: a page with the key state, the recovery key with Replace, requests waiting for approval, devices with Remove, and the reset; lock states with only the ways back each lock leaves.
  • One ContentDialog per flow. The recovery key shows as 14 numbered groups and copies with clipboard history and roaming off; typed keys go into a PasswordBox.
  • The upload dialog hands off to recovery key set-up or approval and opens again after.
  • Sign out erases this computer's keys first, with Try again, Sign out anyway or Cancel when it can't.
  • ADR windows/docs/decisions/0030-end-to-end-encryption.md.

Test plan

  • TablePro.App.Model.Tests: KeyFlowTests, LocalizationTests.Sync (every key flow string).
  • TablePro.Interop.Tests: SyncTests.KeyCallsNameTheirDraftsAndNeedASignIn.
  • The page needs a signed-in account, which the UI tests do not have; the Windows jobs' AOT publish and existing UI tests cover the build.

@datlechin
datlechin force-pushed the feat/windows-sync-keys branch from 2df1c20 to a41f8b8 Compare November 27, 2026 19:03
@datlechin
datlechin force-pushed the feat/windows-sync-keys branch from a41f8b8 to 391c7fd Compare November 28, 2026 00:06
@datlechin
datlechin marked this pull request as ready for review November 28, 2026 00:59
@datlechin
datlechin merged commit a72c7e2 into feat/windows-sync-settings Nov 28, 2026
11 of 13 checks passed
@datlechin
datlechin deleted the feat/windows-sync-keys branch November 28, 2026 00:59
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