Merge branch 'testing' into foxgirl

This commit is contained in:
Lily Hannah 2025-04-26 19:49:46 -04:00
commit 84dce5ea64
Signed by: SapphicSakuraFox
SSH key fingerprint: SHA256:eDeo8J1v9taxSQLWX8fHD+Zagr5cU+ExRHmF/Wk5evY
2 changed files with 20 additions and 9 deletions

View file

@ -1,3 +1,11 @@
### Sapphic Navi Cheats
Some cheats I've made for use with [Navi](https://github.com/denisidoro/navi) ✨
#### Prerequisites
Some of the cheats require the following prerequisites:
- [gum](https://github.com/charmbracelet/gum) Version `0.16.0`
- [rsign2](https://github.com/jedisct1/rsign2) Version `0.6.4`
- [rage](https://github.com/str4d/rage) Version `0.11.1`

View file

@ -3,32 +3,35 @@
## Encrypting
# Encrypt to a recipient's public age key
rage -e -r <recipient_public_age_key> <input_file> > <input_file>.age
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> <input_file> > <input_file>.age
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 <input_file> > <input_file>.age
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 <input_file> > <input_file>.age
rage -e -r <sapphic_public_age_key> -a "<input_file>" > "<input_file>.age"
# Encrypt to a public SSH key
rage -r "<public_ssh_key>" <input_file> > <input_file>.age
rage -r "<public_ssh_key>" "<input_file>" > "<input_file>.age"
# Encrypt to a public SSH key saved on disk
rage -R ~/.ssh/id_<ssh_key_name>.pub <input_file> > <input_file>.age
rage -R ~/.ssh/id_<ssh_key_name>.pub "<input_file>" > "<input_file>.age"
## Decrypting
# Decrypt a file using a local key
rage -d -i <private_key> <input_file> > <output_file>
rage -d -i <private_age_key> "<input_file>" > "<output_file>"
# Decrypt a file using an SSH private key
rage -d -i ~/.ssh/id_<ssh_key_name> <input_file> > <output_file>
rage -d -i ~/.ssh/id_<private_ssh_key_name> "<input_file>" > "<output_file>"
# Decrypt a file using your key (wl-paste)
wl-paste | rage -d -i - <input_file> > <output_file>
wl-paste | rage -d -i - "<input_file>" > "<output_file>"
$ sapphic_public_age_key: echo age17r37eg8lmvsklve0rdajsts2rgca4j5twdmcglh6qufxj7qmzv0qywulhg
$ input_file: find . -maxdepth 1 -type f | gum choose
$ output_file: echo "<input_file>" | sed -e 's/\.age *$//' | gum input --header="Save file as.." --value=""