Why it matters
Cryptography is only as strong as its keys. A single extracted master key can compromise an entire fleet.
What it covers
- Key types: symmetric keys (SecOC, SHE), asymmetric keys and certificates (secure boot, TLS, diagnostics authentication).
- Hierarchies: root keys in the backend, derived keys per vehicle and ECU.
- Lifecycle: generation, provisioning, use, rotation, revocation, destruction.
How keys get into vehicles
At production, an end-of-line station injects or derives keys into each ECU’s HSM through a protected protocol. Later updates come via diagnostics or OTA, authenticated by existing keys.
Example provisioning flow; key protection, ECU binding and confirmation mechanisms depend on the selected protocol.
Best practices
- Use unique keys per ECU or vehicle wherever possible.
- Never store keys outside the HSM in plaintext — including in production tools and logs.
- Plan crypto agility: algorithms and key lengths will need to change during the vehicle’s life.
Common pitfalls
- Shared, static keys across a whole model range.