QCATOOL(1)
π QCATOOL β the manual page, but make it cute π
okay bestie, welcome to qcatool(1), the qcatool page from the Qt Cryptographic Architecture (QCA) fam. grab a strawberry π, sit down, and let's get into it.
β¨ NAME β¨
qcatool β a command line tool for the Qt Cryptographic Architecture, and yes she does everything π
πΈ DESCRIPTION πΈ
qcatool is a command line tool for doing all kinds of cryptographic operations with the Qt Cryptographic Architecture (QCA). no cap, she's the whole package.
she can also be used for testing and debugging QCA, so like, she's useful and she's a vibe checker. double threat. iconic. π
π USAGE π
so here's the tea: qcatool has a whole range of options and commands. the rule is:
- you only ever get to use one command β just one, periodt
- but you may use several, one, or no options
that's it, that's the whole structure. she's simple like that. π¦
π OPTIONS π
as noted above, all of these are optional, and they can be combined. mix and match, girl. π
--pass=PASSWORDβ specify the password to use. lowkey this is a bad idea unless you're testing, because literally anyone can read the arguments to a command line application. everyone can see her. π--newpass=PASSWORDβ specify the new password to use for password change, with thekey changepassandkeybundle changepasscommands. also probably a bad idea except for testing, because β say it with me β anyone can read the arguments to a command line application. π--nonroots=CERTIFICATESβ specify additional certificates that are not trusted, but which may be used in the trust path if appropriate trust can be established. they're not root, they're just... adjacent. ykyk.--roots=CERTIFICATESβ specify additional certificates which can be used as trusted (root) certificates. these ones get the π treatment.--nosysβ disable use of the standard root certificates that are provided by the operating system. bye system, we don't know her.--nopromptβ disable prompting for passwords/passphrases. so if you don't provide the passphrase on the command line (with--passor--newpass), this will causeqcatoolto abort the command if a password/passphrase is required. no prompt, no vibes, no service. π--orderedβ if you're outputting certificate information fields (Distinguished Name and Subject Alternative Name), show them in the same order that they are present in the certificate rather than in a friendly sorted order. sometimes you just want the raw truth.--debugβ enable additional output to aid debugging. turn the volume up π--log-file=FILENAMEβ log to the specified file.--log-level=LEVELβ log at the specified level. the log level can be between0(none) and8(most). glow up scale fr fr.--nobundleβ when S/MIME signing, do not bundle the signer's certificate chain inside the signature. this results in a smaller signature output, but requires the recipient to have all of the necessary certificates in order to verify it. smaller file, bigger responsibility. π«Ά
π COMMANDS π
one command per hangout, remember?
help,--help,-hβ output usage (help) information.version,--version,-vβ output version information.pluginsβ list available plugins. use the--debugoption to get more information on plugins which are found and which ones actually loaded. found vs. actually showed up β very different things. πconfig save [provider]β save provider configuration. use this to have the provider's default configuration written to persistent storage, which you can then edit by hand.config edit [provider]β edit provider configuration. the changes are written to persistent storage.key make rsa|dsa [bits]β create a key pairkey changepass [K]β add/change/remove passphrase of a keycert makereq [K]β create certificate request (CSR)cert makeself [K]β create self-signed certificatecert makereqadv [K]β advanced version ofmakereqcert makeselfadv [K]β advanced version ofmakeselfcert validate [C]β validate certificatekeybundle make [K] [C]β create a keybundlekeybundle extract [X]β extract certificate(s) and keykeybundle changepass [X]β change passphrase of a keybundlekeystore list-storesβ list all available keystoreskeystore list [storeName]β list content of a keystorekeystore monitorβ monitor for keystore availabilitykeystore export [E]β export a keystore entry's contentkeystore exportref [E]β export a keystore entry referencekeystore addkb [storeName] [cert.p12]β add a keybundle into a keystorekeystore addpgp [storeName] [key.asc]β add a PGP key into a keystorekeystore remove [E]β remove an object from a keystoreshow cert [C]β examine a certificateshow req [req.pem]β examine a certificate request (CSR)show crl [crl.pem]β examine a certificate revocation listshow kb [X]β examine a keybundleshow pgp [P|S]β examine a PGP keymessage sign pgp|pgpdetach|smime [X|S]β sign a messagemessage encrypt pgp|smime [C|P]β encrypt a messagemessage signencrypt [S] [P]β PGP sign & encrypt a messagemessage verify pgp|smimeβ verify a messagemessage decrypt pgp|smime ((X) ...)β decrypt a message (S/MIME needsX)message exportcertsβ export certs from S/MIME message
π§ ARGUMENTS π§
the arguments to the commands are as follows. she's got a whole lil alphabet for you:
K= private key.C= certificate.X= key bundle.P= PGP public key.S= PGP secret key.E= generic entry.
and here's the important part β these must be identified by either a filename or a keystore reference ("store:obj"). so either you hand her a file, or you point her at the keystore. both valid, both slay. π
π«Ά AUTHOR π«Ά
qcatool was written by Justin Karneges as part of QCA. this manual page was written by Brad Hards.
give them their flowers. they ate. πΈ
heads up bestie: putting your password directly on the command line with--passor--newpassmeans anyone who can read your process arguments can read it too. it's fine for testing, it's not the move for real life. π
and that's the whole page, no skips, no crumbs. π
this was qcatool 1.0.0, from Qt Cryptographic Architecture (QCA), dated August 2007. yes she's an elder but she still runs the group chat. periodt. βπ
π¦ where this page comes from
- fedora 43: qca 2.2.1-27.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: qca 2.2.1-27.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms