Add rage snippets

This commit is contained in:
Lily Hannah 2025-04-25 23:39:24 -04:00
parent 050b152ec5
commit f1b08dd529
Signed by: SapphicSakuraFox
SSH key fingerprint: SHA256:eDeo8J1v9taxSQLWX8fHD+Zagr5cU+ExRHmF/Wk5evY

View file

@ -1,3 +1,22 @@
% rage
# Encrypt to a recipient's public age key
rage -e -r <recipient_public_age_key> -o <input_file>.age <input_file>
# Encrypt to my public age key
rage -e -r <sapphic_public_age_key> -o <input_file>.age <input_file>
# Encrypt to a recipient's public age key, in armour format
rage -e -r <recipient_public_age_key> -a -o <input_file>.age <input_file>
# Encrypt to my public age key, in armour format
rage -e -r <sapphic_public_age_key> -a -o <input_file>.age <input_file>
# Decrypt a file using your key (wl-paste)
wl-paste | rage -d -i - -o <output_file> <input_file>
# Decrypt a file using your key
rage -d -i <private_key> -o <output_file> <input_file>
$ sapphic_public_age_key: echo age1flp0s5ecv24kht3a2xlyt6rfr54wf3zr9kq6nyl487m600np9utqepjww0