RAGE(1) | General Commands Manual | RAGE(1) |
NAME¶
rage - A simple, secure, and modern encryption tool
SYNOPSIS¶
rage [FLAGS] [OPTIONS] [INPUT_FILE (defaults to stdin)]
FLAGS¶
- -h, --help
- Display help text and exit.
- -V, --version
- Display version info and exit.
- -e, --encrypt
- Encrypt the input. By default, the input is encrypted.
- -d, --decrypt
- Decrypt the input. By default, the input is encrypted.
- -p, --passphrase
- Encrypt with a passphrase instead of recipients.
- -a, --armor
- Encrypt to a PEM encoded format.
OPTIONS¶
- -r, --recipient=RECIPIENT
- Encrypt to the specified RECIPIENT. May be repeated.
- -R, --recipients-file=PATH
- Encrypt to the recipients listed at PATH. May be repeated.
- -i, --identity=IDENTITY
- Use the identity file at IDENTITY. May be repeated.
- -o, --output=OUTPUT
- Write the result to the file at path OUTPUT. Defaults to standard output.
- --max-work-factor=WF
- The maximum work factor to allow for passphrase decryption.
EXIT STATUS¶
- 0
- Successful program execution.
- 1
- Unsuccessful program execution.
- 101
- The program panicked.
EXAMPLES¶
- Encryption to a recipient
- $ echo "_o/" | rage -o hello.age -r age1uvscypafkkxt6u2gkguxet62cenfmnpc0smzzlyun0lzszfatawq4kvf2u
- Encryption to multiple recipients (with default output to stdout)
- $ echo "_o/" | rage -r age1uvscypafkkxt6u2gkguxet62cenfmnpc0smzzlyun0lzszfatawq4kvf2u -r age1ex4ty8ppg02555at009uwu5vlk5686k3f23e7mac9z093uvzfp8sxr5jum > hello.age
- Encryption with a password (interactive only, use recipients for batch!)
- $ rage -p -o hello.txt.age hello.txt
Type passphrase: - Encryption to a list of recipients in a file
- $ tar cv ~/xxx | rage -R recipients.txt > xxx.tar.age
- Encryption to several identities
- $ tar cv ~/xxx | rage -e -i keyA.txt -i keyB.txt > xxx.tar.age
- Encryption to a list of recipients at an HTTPS URL
- $ echo "_o/" | rage -o hello.age -R <(curl https://github.com/str4d.keys)
- Decryption with identities
- $ rage -d -o hello -i keyA.txt -i keyB.txt hello.age
AUTHOR¶
Jack Grigg <thestr4d@gmail.com>