SQ(1)
π SQ(1) β sq cert lint
okay bestie, gather round, we're doing a vibe check on certificates πβ¨ the manual name is SQ(1) btw, and this one's all about sq cert lint, which is literally the certificate wellness inspection of your dreams.
πΈ NAME πΈ
sq-cert-lint β Check certificates for issues
β¨ SYNOPSIS β¨
sq cert lint [OPTIONS]
π DESCRIPTION π
So like. sq cert lint checks the certificates you hand it for issues. Specifically the SHA-1-related ones, because SHA-1 is giving expired-milk energy and we're not about it π
Here's the tea on what it's looking for:
- Whether a certificate revocation uses SHA-1.
- Whether the current self signature for a non-revoked User ID uses SHA-1.
- Whether the current subkey binding signature for a non-revoked, live subkey uses SHA-1.
- Whether a primary key binding signature ("backsig") for a non-revoked, live subkey uses SHA-1.
Diagnostics get printed to stderr (so not the tidy pretty stdout channel, the other one, keep up π«Ά). And at the end, some statistics are shown. This is useful when examining a keyring. And if --fix is specified and at least one issue could be fixed, the fixed certificates are printed to stdout. slay, it healed them π
Now, important caveat, no cap: this tool does not currently support smart cards. But (and this is the cute part), if only the subkeys are on a smart card, this tool may still be able to partially repair the certificate. In particular, it will be able to fix any issues with User ID self signatures and subkey binding signatures for encryption-capable subkeys, but it will not be able to generate new primary key binding signatures for any signing-capable subkeys. so like, partial glow-up only, we work with what we got π
π OPTIONS π
π Subcommand options
--cert=FINGERPRINT|KEYID β Use certificates with the specified fingerprint or key ID--cert-domain=DOMAIN β Use certificates where a user ID includes an email address for the specified domain--cert-email=EMAIL β Use certificates where a user ID includes the specified email address--cert-file=PATH β Read certificates from PATH--cert-grep=PATTERN β Use certificates with a user ID that matches the pattern, case insensitively--cert-userid=USERID β Use certificates with the specified user ID--fixβ Attempts to fix certificates, when possible--output=FILE β Write to the specified FILE
If not specified, and the certificate was read from the certificate store, imports the modified certificate into the cert store. If not specified, and the certificate was read from a file, writes the modified certificate to stdout.
π¦ Global options
See sq(1) for a description of the global options. (yes bestie, go read that one too, it's got the whole global-options lore π)
π₯ EXAMPLES π₯
Gather statistics on the certificates in a keyring:
sq cert lint --cert-file certs.pgp
Fix a key with known problems:
sq cert lint --fix --cert \
EB28F26E2739A4870ECC47726F0073F60FD0CBF0
π SEE ALSO π
For the full documentation see <https://book.sequoia-pgp.org/>.
β VERSION β
1.5.0
and that's the whole page babes π₯° this was Sequoia PGP version 1.5.0, brought to you with love, and it's SQ(1) forever and always πβ¨ go lint something, you'll feel so much better, fr fr π«Ά
π¦ 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