Add local key method
* Change commands to use more sensible input > output
This commit is contained in:
parent
4059bf9772
commit
de702bee97
1 changed files with 10 additions and 11 deletions
|
@ -1,28 +1,27 @@
|
|||
% rage
|
||||
|
||||
# Encrypt to a recipient's public age key
|
||||
rage -e -r <recipient_public_age_key> -o <input_file>.age <input_file>
|
||||
rage -e -r <recipient_public_age_key> <input_file> > <input_file>.age
|
||||
|
||||
# Encrypt to my public age key
|
||||
rage -e -r <sapphic_public_age_key> -o <input_file>.age <input_file>
|
||||
rage -e -r <sapphic_public_age_key> <input_file> > <input_file>.age
|
||||
|
||||
# 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>
|
||||
rage -e -r <recipient_public_age_key> -a <input_file> > <input_file>.age
|
||||
|
||||
# Encrypt to my public age key, in armour format
|
||||
rage -e -r <sapphic_public_age_key> -a -o <input_file>.age <input_file>
|
||||
rage -e -r <sapphic_public_age_key> -a <input_file> > <input_file>.age
|
||||
|
||||
# Encrypt to a public SSH key
|
||||
rage -R ~/.ssh/id_<ssh_key_name>.pub -o <input_file>.age <input_file>
|
||||
rage -R ~/.ssh/id_<ssh_key_name>.pub <input_file> > <input_file>.age
|
||||
|
||||
# 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 a local key
|
||||
rage -d -i <private_key> <input_file> > <output_file>
|
||||
|
||||
# Decrypt a file using an SSH private key
|
||||
rage -d -i ~/.ssh/id_<ssh_key_name> -o <output_file> <input_file>
|
||||
rage -d -i ~/.ssh/id_<ssh_key_name> <input_file> > <output_file>
|
||||
|
||||
# Decrypt a file using your key (wl-paste)
|
||||
wl-paste | rage -d -i - <input_file> > <output_file>
|
||||
|
||||
$ sapphic_public_age_key: echo age17r37eg8lmvsklve0rdajsts2rgca4j5twdmcglh6qufxj7qmzv0qywulhg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue