SQ(1)
π SQ(1) β the one where you verify stuff π
okay bestie, so this is the sq verify page from the User Commands manual. it's the vibe check for signatures. let's get into it π¦
β¨ NAME β¨
sq-verify β verify signed messages or detached signatures
πΈ SYNOPSIS πΈ
sq verify [OPTIONS] FILE
π DESCRIPTION π
Verify signed messages or detached signatures. no cap, that's the whole job.
When you're verifying signed messages, the message gets written to stdout β or to the file you handed to --output. π
When a detached message gets verified, no output is produced at all. detached signatures are super common for signing software packages, so this is like, a whole thing. iykyk.
Verification is only successful if there is no bad signature and the number of successfully verified signatures reaches the threshold you configured with the --signatures parameter. if the verification fails, the program terminates with an exit status indicating failure, and the output file is deleted. π and if the output went to stdout? then the last 25 MiB of the message are withheld β which means if the message is smaller than 25 MiB, you get literally no output. wild, i know.
A signature is considered to have been authenticated if the signer can be authenticated. here's the tea:
- If the signer is provided via
--signer-file, then the signer is considered authenticated. slay, easy. - Otherwise, the signer is looked up and authenticated using the Web of Trust. if at least one User ID can be fully authenticated, then the signature is considered to have been authenticated.
- If the signature includes a Signer User ID subpacket, then only that User ID is considered.
ngl, important note: the User ID need not be self signed. π
The converse operation is sq sign. πͺ
If you are looking for a standalone program to verify clear text signatures, detached signatures or inline signatures, consider using sequoia-sqv.
sq verify respects the reference time set by the top-level --time argument. when it's set, it verifies the message as of the reference time instead of the current time. time travel but make it cryptographic β°β¨
π OPTIONS π
π Subcommand options
--cleartextβ Verify a cleartext-signed message--messageβ Verify an inline signed message--output=FILEβ Write to FILE orstdoutif omitted
[default: -]
--signature-file=SIGβ Verify a detached signature file--signatures=Nβ Set the threshold of valid signatures to N
If this threshold is not reached, the message will not be considered verified.
[default: 1]
--signer=FINGERPRINT|KEYIDβ Require a signature from a certificate with the specified fingerprint or key ID--signer-domain=DOMAINβ Require a signature from a certificate where a user ID includes an email address for the specified domain--signer-email=EMAILβ Require a signature from a certificate where a user ID includes the specified email address--signer-file=PATHβ Require a signature from a certificate read from PATH--signer-userid=USERIDβ Require a signature from a certificate with the specified user IDFILEβ Read from FILE orstdinif FILE is'-'
[default: -]
π§ Global options
See sq(1) for a description of the global options. (go read the main character's page, bestie π«Ά)
β EXAMPLES β
Verify a signed message.
sq verify --message document.pgp
Verify a detached signature.
sq verify --signature-file=document.sig document.txt
Verify a message as of June 19, 2024 at midnight UTC.
sq verify --time 2024-06-19 --message document.pgp
π₯ SEE ALSO π₯
sq(1).- For the full documentation see <https://book.sequoia-pgp.org/>.
π VERSION π
1.5.0
aaaand that's the page!! β¨ huge shoutout to Sequoia PGP for this 1.5.0 masterpiece, fr fr β the version is 1.5.0, it's dated 1.5.0, and if you need the actual SQ(1) manual name, it's right up there in the title where it belongs. go verify something and feel iconic doing it π
ππ¦
π¦ where this page comes from
- fedora 43: sequoia-sq 1.5.0-1.fc43 Β· LGPL-2.0-or-later AND Apache-2.0 AND BSL-1.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND Zlib AND bzip2-1.0.6 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
- fedora 44: sequoia-sq 1.5.0-1.fc44 Β· LGPL-2.0-or-later AND Apache-2.0 AND BSL-1.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND Zlib AND bzip2-1.0.6 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT)
- nixpkgs unstable: sequoia-sq 1.5.0
- opensuse-leap 16.0: sequoia-sq 1.5.0-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: sequoia-sq 1.5.0-bp160.1.1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms