summaryrefslogtreecommitdiffstats
path: root/sq
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2022-05-07 11:53:53 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2022-05-13 15:23:02 +0200
commite41ce7b791031bf40d0035673fd2f32b2a2a029c (patch)
treed3083bed27ae6885d64c6ae08aa569af0432e5cf /sq
parent222b97d3588fda97e1ff70bf674481f31765d7ef (diff)
sq: Fix subplot scenario.
- The subplot scenario "File is signed with all required keys" has a mistake, it uses a wrong argument, `--signer-key` instead of `--signer-cert`. - The issue was hidden, as the command was expected to fail with exit code 1, coincidentally the same exit code that clap 2 uses for usage errors. Clap 3 exits with 2 instead of 1, so now the test failed. - Fix the wrong argument.
Diffstat (limited to 'sq')
-rw-r--r--sq/sq-subplot.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/sq/sq-subplot.md b/sq/sq-subplot.md
index 8c05a19c..184ce9e0 100644
--- a/sq/sq-subplot.md
+++ b/sq/sq-subplot.md
@@ -1131,7 +1131,7 @@ when I run sq key generate --userid Bob --export bob.pgp
when I run sq key extract-cert bob.pgp -o bob-cert.pgp
when I run sq sign --signer-key alice.pgp hello.txt -o signed1.txt
-when I try to run sq verify --signer-cert alice-cert.pgp --signer-key bob-cert.pgp --signatures=2 signed1.txt
+when I try to run sq verify --signer-cert alice-cert.pgp --signer-cert bob-cert.pgp --signatures=2 signed1.txt
then exit code is 1
when I run sq sign --append --signer-key bob.pgp signed1.txt -o signed2.txt