str4d/rage ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Rust command line app for encrypting and decrypting files in a really safe, zero setup way.

I want it to work from the terminal with standard input and output, so I can pipe files in and out easily. It should support encrypting to one or more recipients, using either age public keys or SSH public keys, and it should also support passphrase encryption with a strong autogenerated passphrase if I do not type one. Make decryption easy with identity files, including passphrase protected identity files, and if possible use a pinentry style prompt when available.

Please also include support for age plugins like a YubiKey flow, and make the tool feel secure by default with no confusing config file. A small Rust library for the same encryption format would be great too, so other apps can reuse it. If you need to, look up the current age format docs online and match the standard behavior closely.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab