diff options
author | Lars Wirzenius <liw@sequoia-pgp.org> | 2022-02-03 11:33:57 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@sequoia-pgp.org> | 2022-02-03 12:28:52 +0200 |
commit | 61e8dcaca678e066fc2dac8fec8e4031d7376e1a (patch) | |
tree | fee220c41978397726243b9c53b83de0fb4bbb63 | |
parent | 35f37fc26d26fe6034b6a1298b4a40c48fe4a7a1 (diff) |
sq: improve subplot scenario on how to extract cert to file
The new scenario is more explicit in how the verification is done
rather than just checking the output is a public key block.
Also, fix a tiny markup error in another scenario (missing _ to end
italic section).
Sponsored-by: NLnet Foundation; NGI Assure; European Commission
-rw-r--r-- | sq/sq-subplot.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sq/sq-subplot.md b/sq/sq-subplot.md index 23bfe829..52857c79 100644 --- a/sq/sq-subplot.md +++ b/sq/sq-subplot.md @@ -389,10 +389,11 @@ file._ ~~~scenario given an installed sq -when I run sq key generate --export key.pgp +when I run sq key generate --export key.pgp --userid Alice when I run sq key extract-cert key.pgp -o cert.pgp -then file cert.pgp contains "-----BEGIN PGP PUBLIC KEY BLOCK-----" -then file cert.pgp contains "-----END PGP PUBLIC KEY BLOCK-----" +when I run sq inspect cert.pgp +then stdout contains "OpenPGP Certificate." +then stdout contains "Alice" ~~~ @@ -1051,7 +1052,7 @@ then command fails ## Create cleartext signature _Requirement: We can create a signature such that the signed data is -included in a readable form. +included in a readable form._ ~~~scenario given an installed sq |