Skip to content

Fraypad v0.6.0

Choose a tag to compare

@atharva-potdar atharva-potdar released this 29 Nov 11:06
· 13 commits to main since this release
d847432

What's New in v0.6.0

Security & Pairing

  • Authenticated, encrypted UDP (ChaCha20-Poly1305): All control packets (Hello, Welcome, Reject, Bye, Input, Heartbeat, Pong, Rumble, Resync) are now authenticated and encrypted using BouncyCastle on Android/Desktop and chacha20poly1305 on Rust. Unauthenticated packets are silently dropped.
  • 64-bit sliding replay window: Protects against packet replay while tolerating normal Wi-Fi UDP reordering.
  • QR code & 6-digit PIN pairing: fraypad persists a 0600 server key in $XDG_CONFIG_HOME/fraypad/server.key (--rekey to regenerate) and prints both a terminal QR code and a rate-limited 6-digit PIN (X25519 key exchange) on startup.
  • F-Droid-ready Android QR scanner: Uses 100% FOSS CameraX + zxing-core (no Google Play Services) and only requests CAMERA permission when you tap Scan QR Code.
  • Server identity pinning & --no-discover: Announce carries an 8-byte SHA-256 server fingerprint pinned by the client during background auto-reconnect; --no-discover disables LAN broadcasts on untrusted networks.
  • KBM opt-out & neutralization: Added --no-kbm / --gamepad-only to disable the virtual keyboard/mouse (automatically hiding the KBM button in the app via Welcome capability flags), and neutralize_kbm() releases held keys on disconnect/timeout/shutdown.
  • Scoped uaccess udev rule: Added packaging/udev/99-fraypad.rules using TAG+="uaccess" so only the active local desktop seat gets /dev/uinput access.

Onboarding & UI

  • Portrait Pairing Screen: Unpaired launches now open in a dedicated portrait pairing screen with numpad PIN input, QR scan, and LAN discovery, switching to landscape once paired. Added Unpair in Settings (keeping your saved IP).