Add file picker to rsign.cheat
Also add double-quoting to filename fields
This commit is contained in:
parent
84dce5ea64
commit
0b7da15e2c
1 changed files with 8 additions and 5 deletions
|
@ -1,18 +1,21 @@
|
|||
% rsign
|
||||
|
||||
# Sign a file with a trusted comment
|
||||
rsign sign <input_file> -t <trusted_comment>
|
||||
rsign sign "<input_file>" -t <trusted_comment>
|
||||
|
||||
# Verify a file with my public key
|
||||
rsign verify <input_file> -P <sapphic_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>
|
||||
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>
|
||||
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>
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue