Skip to content

Tether 1.2.0 — Security Hardening, Lock-Screen Reliability, and Platform Refinement

Choose a tag to compare

@tirthsaraiya29 tirthsaraiya29 released this 16 Nov 07:33
· 103 commits to main since this release

Executive Overview

This release focuses on defense-in-depth hardening across the Android companion and Windows credential provider,
resolution of critical lock-screen (LogonUI) reliability defects, pairing/handshake protocol desync fixes, and a fully
overhauled landing page for search visibility. Several legacy automation and test artifacts have been consolidated
and re-scoped.


1. Security Enhancements

TETH-SEC-005 — Android TLS Certificate Trust Management and Pin Storage Hardening

  • Severity: High
  • Affected Subsystems: TetherTransport.kt, TetherPinnedTrustManager paths, FileTransferClient.kt, TetherLanService.kt,
    TetherPairingManager.kt, ProductionSecurityEngine.kt, network_security_config.xml
  • Remediation:
    • a. Hardened TLS certificate trust evaluation across all companion transport paths (LAN, file transfer, and pairing),
      ensuring only pinned certificates are accepted.
    • b. Reworked pin storage and validation lifecycle, with dedicated coverage in TetherTransportTrustManagerTest.kt.
    • c. Tightened network_security_config.xml to remove permissive trust anchors.
  • Confidence Rating: 100% (High Confidence) — Verified in TetherTransportTrustManagerTest.kt.

TETH-SEC-006 — Handshake Device ID Validation

  • Severity: Medium
  • Affected Subsystems: TetherSession.cs, TetherTransport.kt, FileTransferClient.kt
  • Remediation:
    • a. Introduced strict validation of device identifiers during the handshake phase, rejecting malformed or mismatched
      identities before trust establishment.
    • b. Verified with dedicated negative tests in HandshakeDeviceIdValidationTests.cs.
  • Confidence Rating: 100% (High Confidence).

Credential Provider Security Re-architecture

  • Severity: High (Internal Audit)
  • Affected Subsystems: TetherCredentialProvider/TetherCredential.cpp, TetherProvider.cpp, Dll.cpp, helpers.cpp
  • Remediation:
    • a. Comprehensive hardening of the Windows credential provider event handling, eliminating event storms and
      unauthorized state transitions.
    • b. Removed the legacy QUIC transport (TetherQuicTransport.kt) in favor of the hardened TCP transport path.
    • c. Overhauled test suites (CompanionCapabilityTests.kt, replacement regression tests) and removed
      obsolete/adversarial test scaffolding.
  • Confidence Rating: 100% (High Confidence).

2. Critical Defect Fixes

TETH-BUG-002 — LogonUI Deadlock and Tile Switching Freeze

  • Severity: Critical (User-Facing)
  • Affected Subsystems: TetherCredentialProvider/TetherCredential.cpp, TetherProvider.cpp
  • Root Cause: Synchronous event waits inside the credential provider's LogonUI thread caused deadlocks, tile-switch
    freezes, and cross-tile event storms when the Tether tile was active.
  • Remediation:
    • a. Rewrote the credential tile state machine to avoid blocking waits on the LogonUI thread.
    • b. Debounced and serialized tile events, eliminating event storms.
    • c. Reduced the tile background image asset from ~23 MB to ~64 KB, dramatically improving tile render time.
  • Confidence Rating: 100% (High Confidence).

TETH-BUG-003 — Empty HANDSHAKE_PROOF and Handshake Branch Desync

  • Severity: High (Protocol)
  • Affected Subsystems: TetherPairingManager.kt, TetherSession.cs
  • Root Cause: The Android pairing flow could emit an empty HANDSHAKE_PROOF payload, and the paired-side handshake
    branch state machines had drifted out of sync, causing intermittent pairing failures.
  • Remediation:
    • a. Enforced proof generation invariants on the companion side.
    • b. Aligned handshake branch transitions between Android and Windows service implementations.
  • Confidence Rating: 100% (High Confidence).

TETH-BUG-004 — Lock/Unlock/Sync Race Conditions and Debug/Release Skew

  • Severity: Medium
  • Affected Subsystems: TetherCredential.cpp, TetherSession.cs, TetherLanService.kt, ProductionSecurityEngine.kt,
    DeviceIntegrityRegistry.kt
  • Remediation:
    • a. Resolved race conditions in the lock/unlock power-event pipeline and state synchronization paths.
    • b. Eliminated behavioral skew between Debug and Release builds by consolidating conditional compilation paths.
    • c. Improved Android UI responsiveness and service startup latency.
  • Confidence Rating: 100% (High Confidence).

3. Feature Enhancements

Power Sync & Credential Provider Control

  • Ultra-Fast Power Event Sync: Lock/unlock events from the phone now propagate to the desktop with minimal latency.
  • Credential Provider Service Control: The Windows CP service can now be managed directly from the companion.
  • Default Tile: The Tether credential provider is now registered as the default Windows logon tile.
  • Refined Lock Prompt: Improved the on-device lock confirmation UX.

Audio & Input Reliability

  • Audio Mute Synchronization: Mute state now syncs reliably between devices.
  • App Mixer Improvements: Refined per-application volume routing.
  • Window Filtering: More accurate screen-share window exclusion.
  • Touch Input Reliability: Hardened remote touch injection (InputForwarder.cs) against dropped and duplicated events.

Workflow System Re-Scoping

  • Change: Automation workflows feature is purged.

4. Website & Distribution

Landing Page SEO Overhaul

  • Affected Files: index.html, manifest.webmanifest, robots.txt, sitemap.xml, vercel.json
  • Change: Full rebuild of the landing page metadata, structured data, accessibility semantics, and crawl directives
    per the Vercel SEO playbook; added PWA manifest and sitemap.

Installer

  • Affected Files: installer/Tether.iss
  • Change: Version bumped to 1.2.0.

5. Test Suite Consolidation

  • Removed obsolete scaffolding (TEST_INFRA.md, TEST_READY.md, ExampleInstrumentedTest.kt,
    AdversarialEcosystemTests.kt, and legacy per-feature test files superseded by consolidated suites).
  • Added TETH_REG_001_WorkflowRejectionTests.cs and HandshakeDeviceIdValidationTests.cs.
  • Expanded CompanionCapabilityTests.kt and TetherTransportTrustManagerTest.kt.