sapphic-navi-cheats/signing/rsign.cheat
Lily Hannah 0b7da15e2c
Add file picker to rsign.cheat
Also add double-quoting to filename fields
2025-04-26 20:14:49 -04:00

21 lines
791 B
Text

% rsign
# Sign a file with a trusted comment
rsign sign "<input_file>" -t <trusted_comment>
# Verify a file with my public key
rsign verify "<input_file>" -P <sapphic_public_key>
# Verify a file with my public key, with a different named signature file
rsign verify "<input_file>" -P <sapphic_public_key> -x "<signature_file>"
# Verify a file with someone else's public key
rsign verify "<input_file>" -P <public_key>
# Verify a file with someone else's public key, with a different named signature file
rsign verify "<input_file>" -P <public_key> -x "<signature_file>"
$ sapphic_public_key: echo RWRGdAWJCSQzseElKbOIcuDvVwxR+oKzsy8FXX3Wsx0I98MA6bTVcGaL
$ input_file: find . -maxdepth 1 -type f | gum choose
$ signature_file: find . -maxdepth 1 -name "*.minisig" -type f | gum choose