21 lines
791 B
Text
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
|