skip to content

A regulator requires that a firm's S/MIME-signed client correspondence stays verifiable for years; which signed format, signature algorithms and archive rules do you standardise?

level: principalimportance: nice to knowfreq 9%

answer

  1. reach against robustness
  2. what old clients can verify
  3. MUST- is not forbidden
  4. keep the bytes as received

basics

~20 s

Standardise clear-signed multipart/signed with 7-bit encoding, S/MIME 4.0 algorithms (ECDSA P-256 or Ed25519, with RSA and SHA-256 kept while older correspondents need it), and archive each message byte-for-byte as received, with the certificates needed to re-check it.

solid answer

~50 s

There is no single right answer; the lead trades readability, interoperability and longevity. **Format:** `multipart/signed` keeps mail readable by every client, so it suits client correspondence, provided the firm's clients transfer-encode to 7-bit; opaque `signed-data` pays off only in closed groups where everyone runs S/MIME. **Algorithms:** RFC 8551 (S/MIME 4.0) requires receivers to verify ECDSA with P-256 and EdDSA with curve25519, and keeps RSA PKCS #1 v1.5 with SHA-256 as MUST- — still required, expected to weaken. Clients following only S/MIME 3.2 were never required to verify ECDSA or EdDSA, so RSA (2048 bits or more) stays the interoperable choice while such correspondents remain. **Archive:** store each message exactly as received, never a re-rendered copy, with the certificates it carried and the verification result at receipt, because algorithms age and revocation data may not outlive the certificate.

go deeper

for a junior

Recall that a signature can only be re-checked against the exact bytes that were signed, so archives must keep messages unchanged.

for a middle

Explain S/MIME 4.0's signature set: ECDSA P-256 and EdDSA curve25519 required, RSA PKCS #1 v1.5 with SHA-256 kept as MUST-, SHA-1 and DSA gone.

for a senior

Show the operational traps: re-rendered archives that no longer verify, revocation data that disappears after expiry, and correspondents whose clients predate 4.0.

for a principal

Own the trade-offs and their triggers: reach against robustness in the format, interoperability against longevity in the algorithm, and evidence recorded at receipt in the archive.

## The decision and who owns it A regulator's demand that signed correspondence **stays verifiable for years** turns three technical defaults into policy: which signed format the firm's mail clients send, which signature algorithm the firm's certificates use, and what the archive keeps. None has a single right answer; each trades the reach of today's mail against the strength of tomorrow's evidence. This question is about the signed message itself. Choosing the certificate profile, keeping keys and checking revocation belong to the material on mailbox certificates, private-key custody and certificate revocation, and appear here only where they touch the decision. ## Format: readable today, intact tomorrow | | `multipart/signed` (detached) | `application/pkcs7-mime` signed-data (opaque) | |---|---|---| | Readable by clients without S/MIME | yes | no | | Survives benign re-encoding in transit | no, needs 7-bit-safe encoding | yes | | RFC 8551's position | preferred for sending | allowed; receivers must handle both | | Fit for client correspondence | good, since clients may lack S/MIME | poor, since some clients cannot open it | For a firm writing to clients it does not equip, the detached form is the defensible default: every client can read the advice, and the signature is there for anyone who checks it. The condition is that the firm's clients apply 7-bit transfer encoding to the signed content — which RFC 8551 already requires for `multipart/signed` sent over SMTP — so relays have no reason to alter it. The opaque form earns its cost only in closed exchanges where every party runs S/MIME. ## Algorithms: what S/MIME 4.0 asks and what correspondents can verify RFC 8551 (S/MIME 4.0, April 2019) sets the signature requirements in section 2.2. Its terms matter: **MUST-** means required today but expected to weaken; **SHOULD+** means recommended today but expected to strengthen. - Receiving agents **MUST** verify ECDSA with curve P-256 and SHA-256, and EdDSA with curve25519 in PureEdDSA mode; they **MUST-** verify RSA PKCS #1 v1.5 with SHA-256, and **SHOULD** verify RSASSA-PSS with SHA-256. - Sending agents **MUST** support at least one of ECDSA P-256 or EdDSA curve25519, and **MUST-** support RSA PKCS #1 v1.5 with SHA-256. - An S/MIME agent **MUST NOT** generate RSA signature keys shorter than 2048 bits. - SHA-1, MD5 and DSA are history: S/MIME 4.0 dropped them, and its Appendix B explains why signatures that rely on them deserve different treatment. The tension is interoperability. S/MIME 3.2 (RFC 5751) required receivers to verify RSA with SHA-256 and did not list ECDSA or EdDSA at all, so a correspondent whose client follows only 3.2 may be unable to verify an elliptic-curve signature. A firm writing to many outside clients can therefore keep an RSA signing certificate (2048 bits or more, SHA-256) while those correspondents remain, and set a dated review to move to ECDSA or Ed25519. With Ed25519 and signed attributes, RFC 8419 requires SHA-512 as the content digest, so those messages show `micalg=sha-512` — worth knowing when an auditor compares archived messages. ## Archive rules: keep evidence, not a rendering A signature can be re-checked only against the exact bytes that were signed. The archive policy should therefore say: 1. **Store the message as received**, raw, with the full `multipart/signed` structure. A converted, re-encoded or printed copy will not verify. 2. **Keep the certificates** carried in the `SignedData` — the signer's and any intermediates — since the sender may later replace them. 3. **Record the verification result at receipt**: who signed, with which certificate and algorithm, and that the check passed on that date. RFC 8551 notes that an authority need not keep a certificate on its revocation list beyond one update after the certificate expires, so a later re-check cannot always repeat the original one. 4. **Plan for algorithm ageing.** RFC 8551 strongly suggests that clients treat signatures on sufficiently old messages differently from current ones; the archive should flag messages whose algorithm or key size has since been weakened. ## What the regulator actually gets - **The body, not the envelope of headers.** The signature covers the MIME body, not `From`, `To` or `Subject`, unless the sender wraps the message in `message/rfc822`. If addressees matter to the regulator, adopt that wrapping or rely on archive metadata. - **The signer's clock.** `signingTime` is the signer's own claim, not an independent timestamp. - **A person, not a domain.** A domain-level signature on the same mail does not substitute; it identifies the firm's domain, not the lawyer who wrote the advice. Write the three choices down with their review triggers — when the last correspondent group that verifies only RSA has moved on, when a mandated algorithm weakens — and the regulator's question has an owner.

  • Should the firm sign each S/MIME message twice, with RSA and with ECDSA, to serve both kinds of correspondent?
    CMS allows several `SignerInfo` entries in one `SignedData`, and RFC 5652 says a valid signature from a signer ought to count as that signer's signature, so it is possible. It costs a second certificate per signer, larger messages and mail clients able to produce two signatures. Whether that beats one RSA signature with a dated review is the judgment call.
  • Why do S/MIME messages signed with Ed25519 show micalg=sha-512 while the firm's RSA messages show sha-256?
    `micalg` names the content digest. RFC 8419 requires SHA-512 as that digest when an Ed25519 signer includes signed attributes, while RSA signatures under RFC 8551 commonly use SHA-256. An auditor comparing archived messages should expect both values and not read the difference as an error.

  • RFC 8551 forbids RSA signatures, so every RSA certificate must be replaced now.
  • A PDF rendering of each email preserves the signature as evidence.
  • Every S/MIME client can verify an Ed25519 signature.
  • Opaque signing suits client correspondence because it never breaks in transit.
  • signingTime proves to a regulator when a message was really signed.

Assumes S/MIME 4.0 (RFC 8551, 2019): against 3.2 it added ECDSA and EdDSA, moved RSA PKCS #1 v1.5 with SHA-256 from MUST to MUST-, and marked SHA-1 and DSA historic.