Karta.Domains.KeySource (Karta v1.0.0)

The DKIM key source for outgoing mail (Karta.Outbound.Signing), and the configured one: the active keys (Karta.Domains.signing_keys/2) of the author's domain, when that domain is a verified domain of the organisation of the message's server.

The author is the message's from_address, the first mailbox of its From field, which submission has checked (Karta.Domains.check_from/2). The signature's d= is that domain in ASCII form, so it aligns with From for DMARC. A domain with an active Ed25519 and an active RSA key gets both signatures. Anything else is sent unsigned: an unverified domain is never signed for.