gpgcompose(1)
π gpgcompose(1) β General Commands Manual π
okay bestie, so the man page name is gpgcompose and it lives in the General Commands Manual section. let's get into it π«Ά
β¨ NAME β¨
gpgcompose β Generate a stream of OpenPGP packets π
π SYNOPSIS π
gpgcompose [[OPTION [ARGS]] ... ]
gpgcompose --help
gpgcompose OPTION --help
like, that's the whole shape of it. options and args, help, or help for one specific option. simple. iconic. β¨
πΈ DESCRIPTION πΈ
so gpgcompose generates a stream of OpenPGP packets, and not just the flat boring kind β some of them can have other nested packets inside sitting within a layer of encryption. layers, bestie. it's giving onions but make it cryptography. π§
β¨
ngl, the syntax on the command line isn't stable enough to document currently β like, it's still in its messy era and nobody wants to write down something that's gonna change. but!! you can still find additional hints and examples from the command line by using --help. so go ask it directly, it'll tell you. π
fr fr, --help is your bestie here. don't skip it.
π₯ EXTERNAL DEPENDENCIES π₯
big important thing: gpgcompose is not capable of performing secret key operations on its own. it does not have the keys, it does not have the juice. π
so the creation of any OpenPGP object that requires secret key operations β like, for example, --signature β will need to speak to an already-running gpg-agent. so make sure that thing is up and running first, bestie, or nothing's happening. no agent, no signature. periodt. π
π¦ FILES π¦
occasionally, gpgcompose will need to look up existing public keys for reference β for example, --public-key. when it does, here's where it goes looking:
~/.gnupg/keyring.kbxπ$GNUPGHOME/keyring.kbxβ if that variable is set
so it's the one or the other, and the env var wins when it's there. lowkey clean. β¨
π SEE ALSO π
go read them, they're the supporting cast and they ate. π
π AUTHOR π
gpgcompose is copyright (C) 2016, g10 Code GmbH. π«Ά
this manpage was written by Daniel Kahn Gillmor <dkg@fifthhorseman.net>. thank you for your service, legend. π
and that's the whole vibe check, bestie β this page is from June 2017 and it's gpgcompose(1), sitting in the General Commands Manual. now go make some packets, you absolute main character. π
β¨π¦
π¦ where this page comes from
- debian bookworm: gnupg-utils 2.2.40-1.1+deb12u2 Β· GPL-3.0-or-later
- ubuntu jammy: gnupg-utils 2.2.27-3ubuntu2 Β· GPL-3.0-or-later
- ubuntu jammy: gnupg-utils 2.2.27-3ubuntu2.5 Β· 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