From 0b7da15e2cbeb6f624632438244ee66beef9b002 Mon Sep 17 00:00:00 2001 From: Lily Hannah Date: Sat, 26 Apr 2025 20:14:49 -0400 Subject: [PATCH] Add file picker to rsign.cheat Also add double-quoting to filename fields --- signing/rsign.cheat | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/signing/rsign.cheat b/signing/rsign.cheat index a28178a..f6b4d40 100644 --- a/signing/rsign.cheat +++ b/signing/rsign.cheat @@ -1,18 +1,21 @@ % rsign # Sign a file with a trusted comment -rsign sign -t +rsign sign "" -t # Verify a file with my public key -rsign verify -P +rsign verify "" -P # Verify a file with my public key, with a different named signature file -rsign verify -P -x +rsign verify "" -P -x "" # Verify a file with someone else's public key -rsign verify -P +rsign verify "" -P # Verify a file with someone else's public key, with a different named signature file -rsign verify -P -x +rsign verify "" -P -x "" $ 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