Karta. Auth. DKIM. EncryptedKey
(Karta v1.0.0)
Ecto type for a DKIM private key at rest: a Karta.Auth.DKIM.Key in
memory, its PKCS #8 PEM encrypted by Karta.Vault (AES-256-GCM) in the
database. The column is :binary; it never holds the key in clear.
field :private_key, Karta.Auth.DKIM.EncryptedKeyCasting accepts a Key or a PEM string. A stored value that does not
decrypt, or decrypts to something that is not a key, fails to load. (Ecto
handles nil itself; these callbacks never see it.)