Repository navigation
rocket 1.1.0
rocket 1.1.0 encrypts transfers and resumes them. File contents sent between rocket apps (desktop and Android) are now encrypted and authenticated with keys made fresh for every transfer, and a transfer cut off by the network carries on where it stopped instead of starting over.
rocket 1.1 does not talk to rocket 1.0. Update every computer and phone (see Upgrading from 1.0).
Highlights
- Encrypted transfers. Each offer carries a fresh X25519 key, and the receiver answers with its own in a reply signed with its ed25519 key. The file contents then travel as a ChaCha20-Poly1305 stream in 64 KiB frames, under a key derived with HKDF-SHA256 for that one transfer. If the stream is changed, reordered or extended on the way, the transfer fails and the receiver throws it away. Only Go's standard library and
golang.org/x/cryptoare used, and rocket adds no crypto of its own. The format is indocs/protocol.md. - Signed replies. The receiver signs every answer to an offer, accepted or not, and binds it to the offer it answers. The sender checks the signature against the device it chose.
- Resume. When an accepted transfer breaks for a network reason, the receiver keeps what arrived for 24 hours. The sender tries again by itself after 2, 5, 10, 20 and 30 seconds (Reconnecting n/5) and sends only the missing bytes, without a second prompt. If the last try fails, the send is Interrupted and gets Resume and Discard. The receiver lists what it kept, with Discard. Resume works for every send between rocket apps: files picked in the desktop page,
rocket send, MCP and the Android app. It works for receiving on both desktop and Android. A cancel or a decline never keeps anything. - Status you can see. Offers, transfers and history show Encrypted or Not encrypted. Devices still on 1.0 show as Needs update and cannot be picked. A send that is retrying shows Reconnecting n/5, and one that gave up shows as Interrupted in History. All of this works on the desktop and on Android.
- Command line and MCP.
rocket sendprints its reconnect attempts, and running the same command again continues a send that gave up. In MCP,send_filereportsencrypted, retries andinterrupted.get_statusreports the protocol, the transfers in progress, interrupted sends and peers that need an update, andlist_peersreportsprotoandneedsUpdate. - Android. Encryption, Needs update, Reconnecting and Resume work as on the desktop. Where the sharing app allows it, the app keeps its permission to read the shared files, so Resume still works after the app was closed. Otherwise Resume asks you to pick the files again.
- Go 1.27. Built with Go 1.27, transfers were reported "cancelled by the receiver" after they had finished. This is fixed, and CI now tests Go 1.26 and 1.27.
Upgrading from 1.0
rocket 1.1 speaks protocol 2 only, in both directions. There is no unencrypted fallback and no setting to turn one on.
- If you send to a 1.0 device, rocket says: " runs an older rocket (protocol 1); update it to 1.1 or later".
- If a 1.0 device sends to you, its offer is refused with "this device runs rocket 1.1 or later; update the sender".
- Peer lists show 1.0 devices as Needs update.
When you install 1.1 over 1.0, it keeps your settings, trusted senders, history and the device's fingerprint. The Android app installs over 1.0 because both are signed with the same key.
What is not encrypted
Encryption covers the contents of files sent between rocket apps. The transport is still plain HTTP, so anyone who can see your network traffic can still:
- see file and folder names, sizes and the folder layout (offers are signed, not encrypted),
- see device names, fingerprints and versions, and which devices send to which, when and how much,
- read and change files dropped from a browser. The drop page is plain HTTP and is not encrypted, because browsers allow Web Crypto only on HTTPS pages. Browser drops are marked Not encrypted and do not resume.
- cut off a transfer. The receiver then keeps what arrived, and every byte it keeps was authenticated.
If you send to a bare host:port, the transfer is encrypted to whoever answers on that address. When it matters, pick the device from the list or compare its fingerprint. If names and sizes must stay private as well, put the files in an encrypted archive first. The details are in docs/security.md.
Downloads
| File | Platform |
|---|---|
rocket-windows-amd64.zip |
Windows 10/11, x64 (includes rocket-tray) |
rocket-windows-arm64.zip |
Windows on ARM64 (includes rocket-tray) |
rocket-darwin-amd64.zip |
macOS, Intel |
rocket-darwin-arm64.zip |
macOS, Apple silicon |
rocket-linux-amd64.zip |
Linux, x64 (includes rocket-tray) |
rocket-linux-arm64.zip |
Linux, ARM64 (includes rocket-tray) |
rocket-android.apk |
Android 8.0 or later (phones; arm64, arm, x86_64) |
Install
Desktop. Each zip also contains README.md, HOW-TO-OPEN.txt, LICENSE, NOTICE and THIRD_PARTY_LICENSES.txt. To upgrade, replace the old rocket (and rocket-tray) binaries with the new ones. The binaries are not code-signed, so read HOW-TO-OPEN.txt before the first run. It covers Windows SmartScreen, macOS Gatekeeper and firewall prompts. The macOS tray app is not included, but you can build it from source (it needs cgo).
Android. rocket is not in the Play Store. On the phone, download rocket-android.apk from this page, open it, allow installs from that source when Android asks, and install. It installs over 1.0 and keeps your data. If Google Play Protect warns that it does not know the app, tap "More details", then "Install anyway". The ANDROID section of HOW-TO-OPEN.txt has the steps.
Check your download
Check any file against SHA256SUMS:
sha256sum -c SHA256SUMS --ignore-missing # Linux
shasum -a 256 -c SHA256SUMS --ignore-missing # macOS
Get-FileHash rocket-windows-amd64.zip # Windows PowerShell
The APK is signed with the project's release key, the same key as 1.0. To check the signer, run apksigner verify --print-certs rocket-android.apk (from the Android SDK build-tools). The certificate SHA-256 digest must be:
46:3A:4E:FF:1B:66:1D:BA:36:FB:68:8F:0E:A6:08:90:3F:17:7E:24:B8:D6:F5:59:78:26:0E:B7:89:F4:68:E4
Quick start
rocket # open the web UI
rocket send <peer|host:port> <path>... # send from the command line
rocket uses TCP port 29005, UDP port 29006 and mDNS on UDP 5353. On Android, open the app: the Send tab lists devices, and the Receive tab turns receiving on.
The full list of changes is in CHANGELOG.md.