SQ(1)
π SQ-CERT-EXPORT β the girlies' guide π
okay so bestie, welcome to sq-cert-export, which lives inside the sq(1) manual (the User Commands girlies β¨). This is the little helper that pulls certificates out of your local certificate store. Grab a strawberry π, we're doing this.
β¨ NAME β¨
sq-cert-export β export certificates from the local certificate store. that's it, that's the whole job, and she does it flawlessly π
πΈ SYNOPSIS πΈ
sq cert export [OPTIONS]
π¦ DESCRIPTION π¦
So like, this exports certificates from the local certificate store. simple queen behavior.
If you give her multiple predicates, she returns a certificate if at least one of them matches. OR vibes only, no cap.
β οΈ Big one: this does not check the authenticity of the certificates in any way. Before you use them, pls pls pls validate and authenticate them. don't skip this step bestie, i'm begging π
When you're matching on subkeys or User IDs, the component has to have a valid self signature according to the policy. no valid self sig, no match, that's the rule π
And here's the β¨iconicβ¨ little twist: it fails if search criteria are specified and none of them matches any certificates. Note the lore here β this means if the certificate store is empty and you specified no search criteria, it'll return success. empty store + no filters = she's thriving, success, we love a low-effort win π
π₯ OPTIONS π₯
Subcommand options π
--allβ export all the certificates. the whole collection. main character energy, no filter π--cert=FINGERPRINT|KEYIDβ use certificates with the fingerprint or key ID you name. FINGERPRINT or KEYID, your call π--cert-domain=DOMAINβ use certificates where a user ID includes an email address for the domain you specify--cert-email=EMAILβ use certificates where a user ID includes that exact email address you typed--cert-grep=PATTERNβ use certificates with a user ID that matches the pattern, and it's case insensitively matched (so chill about capitalization, she's not gonna be picky) π«Ά--cert-userid=USERIDβ use certificates with the specified user ID--localβ export local (non-exportable) signatures π
By default, non-exportable signatures are not emitted when exporting certificates, certificate components that are only bound by non-exportable signatures are not emitted, and certificates consisting of only non-exportable components are not emitted. so like, the default is very strict, she's gatekeeping a lil bit.
This flag flips that: it enables exporting of non-exportable signatures, components, and certs. This is useful for synchronization between your own devices, for example. (iconic for the multi-device girlies β¨)
--output=FILEβ write to FILE, or to stdout if you omit it
[default: -]
Global options π
See sq(1) for a description of the global options. (she's got a whole extended universe, go read her page)
π EXAMPLES π
Export certificates with a User ID containing the email address:
sq cert export --cert-email=alice@example.org
Export certificates that contain a User ID with either (not both!) email address:
sq cert export --cert-email=alice@example.org \
--cert-email=bob@example.org
Export all certificates:
sq cert export --all
π not the "either, not both" β yes bestie, two --cert-email flags means OR, not AND. she said at least one, remember? don't come for me, that's just the lore.
π SEE ALSO π
For the full documentation see <https://book.sequoia-pgp.org/>. it's giving study material, but like, the good kind ππ
β VERSION β
1.5.0
okay that's the whole page bestie, you ate that π«Άπ
the version is 1.5.0, it's from the Sequoia PGP girlies, and it's dated 1.5.0 too (yes, same number, she said consistency β¨). now go export some certs responsibly, validate them like i told you, and have the best day 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