Add SSH encrypt/decrypt cheats

This commit is contained in:
Lily Hannah 2025-04-26 03:56:39 -04:00
parent 40ceb09abb
commit 4059bf9772
Signed by: SapphicSakuraFox
SSH key fingerprint: SHA256:eDeo8J1v9taxSQLWX8fHD+Zagr5cU+ExRHmF/Wk5evY

View file

@ -12,11 +12,17 @@ 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>
# Encrypt to a public SSH key
rage -R ~/.ssh/id_<ssh_key_name>.pub -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>
# Decrypt a file using an SSH private key
rage -d -i ~/.ssh/id_<ssh_key_name> -o <output_file> <input_file>
$ sapphic_public_age_key: echo age17r37eg8lmvsklve0rdajsts2rgca4j5twdmcglh6qufxj7qmzv0qywulhg