1SQ-VERIFY(1) USER COMMANDS SQ-VERIFY(1)
2
3
4
6 sq-verify - Verifies signed messages or detached signatures
7
8 When verifying signed messages, the message is written to stdout or the
9 file given to --output.
10
11 When a detached message is verified, no output is produced. Detached
12 signatures are often used to sign software packages.
13
14 Verification is only successful if there is no bad signature, and the
15 number of successfully verified signatures reaches the threshold con‐
16 figured with the "--signatures" parameter. If the verification fails,
17 the program terminates with an exit status indicating failure. In ad‐
18 dition to that, the last 25 MiB of the message are withheld, i.e. if
19 the message is smaller than 25 MiB, no output is produced, and if it is
20 larger, then the output will be truncated.
21
22 The converse operation is "sq sign".
23
24
26 sq verify [FLAGS] [OPTIONS] [--] [FILE]
27
29 -h, --help
30 Prints help information
31
33 -o, --output FILE
34 Writes to FILE or stdout if omitted
35
36
37 --detached SIG
38 Verifies a detached signature
39
40
41 -n, --signatures N
42 Sets the threshold of valid signatures to N. If this threshold
43 is not reached, the message will not be considered verified.
44 [default: 1]
45
46
47 --signer-cert CERT
48 Verifies signatures with CERT
49
51 FILE Reads from FILE or stdin if omitted
52
54 # Verify a signed message
55 $ sq verify --signer-cert juliet.pgp signed-message.pgp
56
57 # Verify a detached message
58 $ sq verify --signer-cert juliet.pgp --detached message.sig mes‐
59 sage.txt
60
61
63 If you are looking for a standalone program to verify detached signa‐
64 tures, consider using sequoia-sqv.
65
66 For the full documentation see <https://docs.sequoia-pgp.org/sq/>.
67
68 sq(1), sq-armor(1), sq-autocrypt(1), sq-certify(1), sq-dearmor(1),
69 sq-decrypt(1), sq-encrypt(1), sq-inspect(1), sq-key(1), sq-keyring(1),
70 sq-keyserver(1), sq-packet(1), sq-sign(1), sq-verify(1), sq-wkd(1)
71
72
73
75 Azul <azul@sequoia-pgp.org>
76 Igor Matuszewski <igor@sequoia-pgp.org>
77 Justus Winter <justus@sequoia-pgp.org>
78 Kai Michaelis <kai@sequoia-pgp.org>
79 Neal H. Walfield <neal@sequoia-pgp.org>
80 Nora Widdecke <nora@sequoia-pgp.org>
81 Wiktor Kwapisiewicz <wiktor@sequoia-pgp.org>
82
83
84
850.24.0 (SEQUOIA-OPENPGP 1.0.0) MARCH 2021 SQ-VERIFY(1)