str4d / rage

A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability.
https://age-encryption.org/v1
Apache License 2.0
2.68k stars 104 forks source link

UX: Rage .bat / Rage .sh #538

Closed ghost closed 1 month ago

ghost commented 1 month ago

``@echo off echo ============================================== echo RAGE Encryption Tool (Passphrase) echo ============================================== echo. set /p input="Enter the path to the input file: " set /p output="Enter the path for the output file (.age extension recommended): "

echo. echo You will now be prompted to enter the passphrase for encryption. rage.exe --encrypt --passphrase -o %output% %input% if %errorlevel%==0 ( echo File encrypted successfully! ) else ( echo An error occurred during encryption. ) pause ``

for windows users, making a single or complete set of batch files to run rage.exe and rage-keygen.exe would be nice. Same for Linux...make a bash script. Specifically, the KEY USE FUNCTIONS could be greatly simplified this way, a user could immediately figure out the key system.