From e41ce7b791031bf40d0035673fd2f32b2a2a029c Mon Sep 17 00:00:00 2001 From: Nora Widdecke Date: Sat, 7 May 2022 11:53:53 +0200 Subject: 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. --- sq/sq-subplot.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sq') 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 -- cgit v1.2.3