Skip to content

Fix host key verification after sync identity resolution - #1419

Open
ZacharyZcR wants to merge 1 commit into
Termix-SSH:dev-2.8.0from
ZacharyZcR:fix/support-1277-host-key-sync-id
Open

Fix host key verification after sync identity resolution#1419
ZacharyZcR wants to merge 1 commit into
Termix-SSH:dev-2.8.0from
ZacharyZcR:fix/support-1277-host-key-sync-id

Conversation

@ZacharyZcR

Copy link
Copy Markdown
Member

Summary

  • use the server-resolved host row ID for terminal host-key preload, verification, and online status
  • apply the same identity correction to File Manager host-key verification and its downstream OPKSSH, Vault, session, and audit references
  • retain the client numeric ID only when no server-side row was resolved

Why

A desktop numeric host ID belongs to the embedded database. After a remote server resolves the stable host syncId, continuing to use the client ID can compare and overwrite another host’s pinned key.

Validation

  • vitest run src/backend/tests/hosts/terminal/host-identity.test.ts (15 passed)
  • npm run type-check
  • Prettier check on changed files

Fixes Termix-SSH/Support#1277

@ZacharyZcR
ZacharyZcR force-pushed the fix/support-1277-host-key-sync-id branch from ad5c2ab to d1fcbb9 Compare September 9, 2026 18: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