OPENARC-KEYGEN(1)

πŸ“¦
version 1.3.2 Β· 3 versions
, in epel 10, epel 9, fedora 43, fedora 44

πŸ’… OPENARC-KEYGEN β€” the key generator era πŸ’…

okay bestie, listen up, this is the openarc-keygen(1) page, straight outta the General Commands Manual, and it's literally your DKIM (and ARC) key generation tool. no cap. πŸŽ€


✨ NAME ✨

openarc-keygen β€” DKIM (and ARC) key generation tool πŸ¦‹


✨ SYNOPSIS ✨

openarc-keygen -d domain -s selector [options]

like that's it, that's the vibe, domain plus selector plus whatever extra flags you're feeling πŸ’–


✨ DESCRIPTION ✨

openarc-keygen outputs a private key suitable for signing messages using openarc(8), and also outputs one of several representations of the associated public key, which can be used in various ways. two keys, one command, we love to see it. πŸ’…

The output filenames are based on the selector and domain; the private key will end in .key and the public key will end in .txt. so if you know your selector and domain you already know where your files are going, iykyk. 🌸


✨ OPTIONS ✨

  • -b, --bits bits β€” Size of RSA key to generate. The default is 2048, which is also the recommended minimum size. Keys smaller than 1024 bits will almost certainly be rejected by downstream evaluators. 😭 bestie do NOT go tiny on this one.
  • -d, --domain domain β€” The domain which will use this key for signing. πŸ‘‘
  • -D, --directory directory β€” Directory to store the keys in. If this is not specified the keys will be stored in the current working directory. fr fr, wherever you ran it from.
  • -f, --format {bare | testkey | text | zone} β€” Output format for the public key.
    • bare outputs just the key itself, rendering many flags that this program accepts irrelevant. πŸ™ˆ
    • testkey outputs a line suitable for use in a file pointed to by the TestKeys option in openarc.conf(5).
    • text outputs a standard textual representation of the key as specified in RFC 6376.
    • zone is the default, and outputs a DNS record formatted for use in a zone file. 🌈
  • --fqdn β€” When outputting a DNS zone file entry, use the fully qualified domain name instead of a relative one.
  • --hash-algorithms algorithms β€” Tag the public key to indicate that it should only be used with this colon-separated list of algorithms.
  • -h, --help β€” Show a help message and exit. the classic. πŸ’–
  • --no-subdomains β€” Tag the public key to indicate that identities in a signature are required to be from this exact domain, not subdomains. strict queen behavior.
  • -n, --note note β€” Free-form text to include in the public key. This is intended for humans who are reading the record, and should be kept brief if it is used at all. like a lil sticky note for the girlies reading DNS records at 2am. πŸŽ€
  • -r, --restrict β€” Tag the public key to indicate that it should only be used for email. There are not currently any other protocols that might use the key, so this does not have any practical effect. it's giving ceremonial. πŸ’€
  • -s, --selector selector β€” A name for the key. 🏷️
  • -t, --type {rsa | ed25519} β€” Type of key to generate, defaults to RSA. Note that Ed25519 keys are not currently useful for ARC, nor are they usable by OpenARC. This option is for people who are generating DKIM keys for use with other software. so if you're here for OpenARC, stick with RSA, no cap. 😭
  • --testing β€” Tag the public key to indicate that this domain is testing its deployment of the protocol this key is used with. This is a signal that you are more interested in receiving feedback, it does not affect the handling of messages or signatures. main character "pls reply" energy fr. 🫢

✨ NOTES ✨

A suitable openssl executable must be available in the executing user's PATH. 🧚


✨ EXAMPLES ✨

You may want to use sudo(8) to run this command as the user that the openarc(8) daemon is configured to run as, so that the file permissions are correct. permissions girlies, this one's for you. πŸ’œ

sudo -u openarc openarc-keygen -D /etc/openarc/keys -d example.com
-s 20241004

✨ SEE ALSO ✨


and that's the whole page bestie, you ate, go generate some keys βœ¨πŸ’–

this lil masterpiece is from OpenARC 1.3.2, dated 2026-09-29, and yes it's the OPENARC-KEYGEN(1) page, mwah πŸ’…πŸŽ€

πŸ“¦ where this page comes from