Skip to content

OmarchyTV 2.23.1: everything the PC sends to the TV is encrypted

Choose a tag to compare

@piermark piermark released this 03 Dec 15:03
· 14 commits to main since this release

What's New in OmarchyTV 2.23.1 (versionCode 33)

A security release for the Android TV launcher and the Omarchy Link plugin, which brings the Omarchy Link plugin in line with the Omarchy plugin marketplace security review (#16147): mandatory encryption, encrypted file and theme uploads, and a safe runtime directory. Update the TV and the plugin together (TV first), because the fixes need both sides. LG webOS, Samsung Tizen and omarchy-tv did not change: their 2.23.0 files stay current. Full list in the CHANGELOG 2.23.1.

  • Everything the PC sends to the TV is encrypted, and it is no longer optional. The plugin now sends cast photos, videos and theme ZIPs as authenticated 64 KiB AES-256-GCM chunks (X-OTV-Enc: A256GCM-STREAM), and the event socket is encrypted both ways. There is no plaintext fallback and no switch to turn the encryption off: a TV that cannot decrypt is refused, not downgraded. The plugin needs python-cryptography.
  • The launcher decrypts those uploads and events (new capabilities enc-a256gcm-stream and enc-ws). This is the real fix for the 415 on files and theme ZIPs, replacing the 2.23.0 workaround. Signed requests without the encryption header (the phone companion, third-party clients) and the event frames of older plugins are still served.
  • The pairing token is no longer a Bearer credential on /mcp and /v1/mcp. Use an app token (omarchy-link token add NAME --scope read|notify|control, revocable); omarchy-link mcp keeps working.
  • The plugin's runtime directory fails closed: created 0700, checked with lstat (a real directory, yours, not a symlink), and $XDG_RUNTIME_DIR is used only when it is absolute, real, yours and 0700.
  • Fixed: the Remote tab of the Omarchy bar popup scrolls instead of running past the bottom of the card (#180).
  • Compatibility: plugin 2.23.1 with an older launcher still does REST calls (2.13 and newer), but refuses files and events with "update the TV to 2.23.1". A 2.23.1 launcher still works with plugins from 2.12 to 2.23.0.

What is and is not protected (paths, sizes and timing are still visible on the LAN, and there is no TLS) is written down in PROTOCOL.md §5.1 and §9 of the plugin.

I checked the PC plugin against the real launcher on the Android TV emulator: pairing, a photo and a video sent encrypted, a theme ZIP installed and applied, the encrypted event socket and the remote keys, with the traffic captured to confirm that no body leaves the PC in the clear. Reports from real TVs are very welcome: please open a GitHub issue and tell me what works and what does not.

Thanks

  • ozz1ee-dev (@ozz1ee-dev): #180, the diagnosis of the Remote tab running past the card.

Downloads and SHA256SUMS

The APK is signed with the OmarchyTV release certificate (SHA-256: 90aa68d9f45e623eadfd349ab1eb66042356f95ff6347a4568c3f3a78f8ea33d), so adb install -r upgrades over 2.23.0 and earlier and keeps your settings. To update the bar widget, run omarchy plugin update (it shows the diff first), or extract omarchy-link-2.23.1.tar.gz over your copy and run omarchy-shell shell rescanPlugins. Update the TV first, then the plugin.

File Size SHA-256
omarchytv-release-2.23.1.apk 15.2 MB bfce61be296bb8493aa2f5d60f381640d2519d0bae181d87c5edb1de987993cb
omarchy-tv-pc-plugin-2.23.1.tar.gz 2.7 MB dfd0aa10cc178b9af136c564f5e644851dbb0bbd71d09f1ee66374ba8421521d
omarchy-link-2.23.1.tar.gz 2.5 MB a74a8a7ede73e862de97916d1cb54798004a7742b2b2b548ed93f9c2f757db0e

The webOS package (omarchytv-webos-2.23.0-testing.ipk), the Tizen widget (OmarchyTV-tizen-2.23.0-unsigned.wgt) and omarchy-tv-2.23.0.tar.gz are on the v2.23.0 release.