Andy Smith Follow me

Email Encryption on iOS

It turns out that the default Apple Mail app is very finicky about encryption.

I have several Apple devices and Thunderbird on my computer. It is recommended to separate encryption and signing keys, make signing keys unique to each device, and use the same encryption keys on all devices while rotating them more often. This is a strange practice in my view, but it is what it is. Otherwise, one device cannot decrypt messages sent to the other devices, and I could not find a way to use several encryption certificates for one address.

Here is what I found while trying to set up an encryption certificate shared with Thunderbird:

  1. Thunderbird supports EC keys but uses sha256kdf/sha384kdf. Apple only supports sha1kdf, which Thunderbird does not support. The conclusion is that EC will not work in a setup with Apple.
  2. Both Thunderbird and Apple support RSA, but only RSA PKCS#1 v1.5, not RSA-OAEP. This is weaker encryption and is not resistant to the Bleichenbacher attack. When an RSA key is selected, Thunderbird uses RSA PKCS#1 v1.5.

I had to use RSA PKCS#1 v1.5 for encryption so that I could decrypt email on my iPhone and iPad. I trust third-party clients even less.

Digital signatures work correctly with EC keys, so these workarounds do not apply to signing.

Links referenced by the agents: