1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 15:02:09 +02:00
tldr/pages/common/rage.md
2023-10-29 16:22:48 +01:00

543 B

rage

A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability. Rust implementation of age. More information: https://github.com/str4d/rage.

  • Encrypt a file for user and save it to message.age:

echo "{{Your secret message}}" | rage --encrypt --recipient {{user}} --output {{path/to/message.age}}

  • Decrypt a file with identity_file and save it to message:

rage --decrypt --identity {{path/to/identity_file}} --output {{message}}