gpg-sq(1)
okay bestie, welcome to gpg-sq(1), from the General Commands Manual π this is the whole page, every flag, every file, no skips, no cap. buckle up, it's giving β¨cryptographyβ¨ but make it cute.
πΈ NAME πΈ
gpg-sq β the OpenPGP encryption and signing tool that's basically gpg's cooler cousin π
π¦ SYNOPSIS π¦
gpg-sq [-s|--sign] [--clear-sign] [-b|--detach-sign] [-e|--encrypt]
[-c|--symmetric] [-d|--decrypt] [--verify] [-k|--list-keys]
[--list-signatures] [--check-signatures] [--fingerprint]
[-K|--list-secret-keys] [--generate-key] [--quick-generate-key]
[--quick-add-uid] [--quick-revoke-uid] [--quick-set-expire]
[--full-generate-key] [--generate-revocation] [--delete-keys]
[--delete-secret-keys] [--quick-sign-key] [--quick-lsign-key]
[--quick-revoke-sig] [--sign-key] [--lsign-key] [--edit-key]
[--change-passphrase] [--export] [--send-keys] [--receive-keys]
[--search-keys] [--refresh-keys] [--import] [--update-trustdb]
[--print-md] [--server] [--tofu-policy] [--x-sequoia-parcimonie]
[-v|--verbose] [-q|--quiet] [--options] [--log-file] [--default-key]
[--encrypt-to] [--group] [--openpgp] [-n|--dry-run] [-i|--interactive]
[-a|--armor] [-o|--output] [--textmode] [-z ] [--auto-key-locate]
[--auto-key-import] [--include-key-block] [--disable-dirmngr]
[-r|--recipient] [-u|--local-user] [--x-sequoia-autostart-parcimonie]
[-h|--help] [-V|--version] [ARGS]
β¨ DESCRIPTION β¨
so like, this whole thing is a re-implementation and drop-in replacement of gpg, built on the Sequoia OpenPGP implementation. iconic behavior honestly π«Ά
but ngl, gpg-sq is not feature-complete. rn it does a commonly used subset of:
- the signature creation and verification commands
- the encryption and decryption commands
- the key listing commands
- and some miscellaneous commands
and the tea on trust models? support is limited. currently it's just the Web-of-Trust ("pgp") and always trust ("always") that are implemented. that's it, that's the list π
π OPTIONS π
-h,--helpβ print help (see a summary with'-h')-V,--versionβ print version[ARGS]β additional arguments. the semantics of the additional arguments, and if there are any, and how many, all depends on which command you picked. so like, read the room (the command) first πΈ
π COMMANDS π
-s,--signβ make a signature--clear-signβ make a clear text signature-b,--detach-signβ make a detached signature-e,--encryptβ encrypt data-c,--symmetricβ encryption only with symmetric cipher-d,--decryptβ decrypt data (default)--verifyβ verify a signature-k,--list-keysβ list keys--list-signaturesβ list keys and signatures--check-signaturesβ list and check key signatures--fingerprintβ list keys and fingerprints-K,--list-secret-keysβ list secret keys--generate-keyβ generate a new key pair--quick-generate-keyβ quickly generate a new key pair--quick-add-uidβ quickly add a new user-id--quick-revoke-uidβ quickly revoke a user-id--quick-set-expireβ quickly set a new expiration date--full-generate-keyβ full featured key pair generation--generate-revocationβ generate a revocation certificate--delete-keysβ remove keys from the public keyring--delete-secret-keysβ remove keys from the secret keyring--quick-sign-keyβ quickly sign a key--quick-lsign-keyβ quickly sign a key locally--quick-revoke-sigβ quickly revoke a key signature--sign-keyβ sign a key--lsign-keyβ sign a key locally--edit-keyβ sign or edit a key--change-passphraseβ change a passphrase--exportβ export keys--send-keysβ export keys to a keyserver--receive-keysβ import keys from a keyserver--search-keysβ search for keys on a keyserver--refresh-keysβ update all keys from a keyserver--importβ import/merge keys--update-trustdbβ update the trust database--print-mdβ print message digests--serverβ run in server mode--tofu-policy <VALUE>β set the TOFU policy for a key
π SEQUOIA-SPECIFIC EXTENSIONS π
the lil extra sparkle sequoia brought to the function, we love to see it β
--x-sequoia-parcimonieβ continuously update certificates--x-sequoia-autostart-parcimonieβ automatically start daemon to update certs
π OPTIONS CONTROLLING THE DIAGNOSTIC OUTPUT π
-v,--verboseβ verbose-q,--quietβ be somewhat more quiet--options <FILE>β read options from FILE--log-file <FILE>β write server mode logs to FILE
βοΈ OPTIONS CONTROLLING THE CONFIGURATION βοΈ
--default-key <NAME>β use NAME as default secret key--encrypt-to <NAME>β encrypt to user ID NAME as well--group <SPEC>β set up email aliases--openpgpβ use strict OpenPGP behavior-n,--dry-runβ do not make any changes-i,--interactiveβ prompt before overwriting
π OPTIONS CONTROLLING THE OUTPUT π
-a,--armorβ create ascii armored output-o,--output <FILE>β write output to FILE--textmodeβ use canonical text mode-z <N>β set compress level to N (0disables)
π¦ OPTIONS CONTROLLING KEY IMPORT AND EXPORT π¦
--auto-key-locate <MECHANISMS>β use MECHANISMS to locate keys by mail address--auto-key-importβ import missing key from a signature--include-key-blockβ include the public key in signatures--disable-dirmngrβ disable all access to the dirmngr
π OPTIONS TO SPECIFY KEYS π
-r,--recipient <USER-ID>β encrypt for USER-ID-u,--local-user <USER-ID>β use USER-ID to sign or decrypt
πΏ ENVIRONMENT πΏ
GNUPGHOMEβ if set, it must contain an absolute path to a directory holding the GnuPG state, aka the configuration files, the cert rings, the secret keys, and the trust database. it can be overridden using the the option--gnupghome. if it's unset, and the option--gnupghomeisn't given either, it defaults to$HOME/.gnupg. and in the FILES section below,$GNUPGHOMEmeans the location of the GnuPG state directory, no matter how it got set (i.e. unset, set via--gnupghome, or set via$GNUPGHOME). slay, consistent πSEQUOIA_CRYPTO_POLICYβ if set, it must contain an absolute path to a configuration file that changes which cryptographic algorithms are acceptable. by default,/etc/crypto-policies/back-ends/sequoia.configis read, which on Fedora contains a reasonable policy set by the distribution. seehttps://docs.rs/sequoia-policy-config/latest/sequoia_policy_config/#formatfor a description of the file format.
ποΈ FILES ποΈ
$GNUPGHOME/gpg.confβ GnuPG's main configuration file.$GNUPGHOME/dirmngr.confβ GnuPG's network configuration file.gpg-sqreads this and honors a subset of the options given.$XDG_DATA_HOME/pgp.cert.dβ default certificate store on POSIX systems if the defaultGNUPGHOMEis used. this location is read and written to.$HOME/Library/Application Support/pgp.cert.dβ default certificate store on macOS if the defaultGNUPGHOMEis used. this location is read and written to.{FOLDERID_RoamingAppData}/pgp.cert.dβ default certificate store on Windows if the defaultGNUPGHOMEis used. this location is read and written to.$GNUPGHOME/pubring.cert.dβ certificate store if a non-defaultGNUPGHOMEis used. this location is read and written to.$GNUPGHOME/pubring.kbxβ GnuPG's default certificate store. this file is read and monitored for changes, but never changed.$GNUPGHOME/pubring.gpgβ GnuPG's legacy certificate store. this file is read and monitored for changes, but never changed.$GNUPGHOME/public-keys.d/pubring.dbβ GnuPG 2.4.x's certificate store. this file is read and monitored for changes, but never changed.$GNUPGHOME/secring.gpgβ GnuPG's legacy secret key store.gpg-sqdoes not use this file, except for doing a migration from pre-2.1 state directories.$GNUPGHOME/.gpg-v21-migratedβ indicates that the state directory has been migrated from a pre-2.1 release.$GNUPGHOME/trustdb.gpgβ GnuPG's trust database. this file is read and monitored for changes, but never modified./etc/crypto-policies/back-ends/sequoia.configβ default cryptographic policy. on Fedora, this contains a reasonable policy set by the distribution. can be overridden using theSEQUOIA_POLICY_CONFIGenvironment variable. seehttps://docs.rs/sequoia-policy-config/latest/sequoia_policy_config/#formatfor a description of the file format.
bestie pls note: those "read and monitored but never changed" files are giving look but don't touch energy. gpg-sq is a respectful king π
π VERSION π
v0.13.1 β that's the one, that's the version, periodt π
and that's the whole page, you ate it π this was gpg-sq 0.13.1 from the gpg-sq(1) manual, mwah, go sign something, ily π«Άβ¨
π¦ where this page comes from
- fedora 43: sequoia-chameleon-gnupg 0.13.1-19.fc43
- fedora 43: sequoia-chameleon-gnupg 0.13.1-20.fc43 Β· GPL-3.0-or-later AND Apache-2.0 AND BSD-3-Clause AND BSL-1.0 AND LGPL-2.0-or-later AND MIT AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND Zlib AND bzip2-1.0.6 AND (0BSD OR Apache-2.0) 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-chameleon-gnupg 0.13.1-11.fc44 Β· GPL-3.0-or-later AND Apache-2.0 AND BSD-3-Clause AND BSL-1.0 AND LGPL-2.0-or-later 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-chameleon-gnupg 0.13.1-19.fc44
- fedora 44: sequoia-chameleon-gnupg 0.13.1-20.fc44 Β· GPL-3.0-or-later AND Apache-2.0 AND BSD-3-Clause AND BSL-1.0 AND LGPL-2.0-or-later AND MIT AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 AND Zlib AND bzip2-1.0.6 AND (0BSD OR Apache-2.0) 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)
- ubuntu resolute: gpg-sq 0.13.1-9 Β· GPL-3.0-or-later
- ubuntu stonking: gpg-sq 0.13.1-13 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms