Skip to content

Mosh reliability hardening, TOFU host keys, and migration smoke tests#4

Merged
ocnc merged 8 commits intomainfrom
pr-2-hardening
Mar 2, 2026
Merged

Mosh reliability hardening, TOFU host keys, and migration smoke tests#4
ocnc merged 8 commits intomainfrom
pr-2-hardening

Conversation

@ocnc
Copy link
Copy Markdown
Owner

@ocnc ocnc commented Mar 1, 2026

Summary

  • refine Mosh advanced settings and remove prediction plumbing
  • add DEC charset handling and OSC 52 clipboard integration in terminal emulation
  • replace accept-all SSH host key behavior with TOFU verification backed by a persisted trust store
  • add host-key trust tests in SpecttyTransportTests
  • introduce versioned SwiftData schemas (V1V4) plus a migration plan that backfills nil Mosh fields
  • add migration smoke tests in a new SpecttyTests target and shared scheme
  • make app SwiftData container migration-aware and run in-memory during XCTest
  • harden ConnectionStore save/fetch paths with explicit error logging

Commit Breakdown

  • b7b22ce Refine mosh advanced settings and remove prediction plumbing
  • 9a93ce6 Add DEC charset and OSC 52 clipboard handling
  • df08331 Implement TOFU SSH host key verification
  • af68891 Add staged SwiftData migration plan with smoke tests

Testing

  • swift test (in Packages/SpecttyTransport)

@ocnc ocnc changed the title PR #2: Mosh reliability hardening, TOFU host keys, and migration smoke tests Mosh reliability hardening, TOFU host keys, and migration smoke tests Mar 2, 2026
@ocnc ocnc merged commit f48ce5b into main Mar 2, 2026
1 check passed
@ocnc ocnc deleted the pr-2-hardening branch March 2, 2026 01:01
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