wormhole
Secure file transfer with human-readable codes
TLDR
Send a file
SYNOPSIS
wormhole command [options] [arguments]
DESCRIPTION
Magic-Wormhole provides secure, simple file transfer between two computers. The sender generates a short, human-readable code that the receiver types to establish an encrypted connection.
Security is based on SPAKE2+ password-authenticated key exchange, ensuring strong encryption from a simple code. Data transfers directly peer-to-peer when possible; otherwise, an encrypted relay tunnels the data. Neither servers see unencrypted content.
Directories are automatically zipped for transfer and unzipped on receipt. Text messages can be sent for quick sharing of passwords or small data.
PARAMETERS
send
Send a file, directory, or text message.receive
Receive a file or text message.--text, -t
Send a text message instead of file.--code code
Use a specific wormhole code instead of generating one.-c, --code-length n
Number of words in generated code.--verify
Request receiver to verify data checksum.--accept-file
Automatically accept incoming file (use with caution).--output-file file
Save received data to specified filename.--relay-url url
Use a custom rendezvous server.--hide-progress
Don't show progress bar during transfer.--help
Display help message.--version
Display version information.
CAVEATS
Both sender and receiver must have wormhole installed. The wormhole code must be communicated securely (ideally spoken or via trusted channel). Using --accept-file with untrusted senders is risky as files are saved without confirmation.
HISTORY
Magic-Wormhole was created by Brian Warner and first released in 2015. It was designed to solve the problem of securely transferring files between computers without complex setup. The PAKE-based security model allows strong encryption from easy-to-type codes. Alternative implementations exist in Go (wormhole-william) and Rust.
