Skip to content

Commit efedb1e

Browse files
Merge pull request #2337 from SgtCoDFish/emudhra
Update supported trusted CA package section, add emudhra section
2 parents 2e32a5e + 6f3448d commit efedb1e

2 files changed

Lines changed: 48 additions & 9 deletions

File tree

‎.spelling‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,3 +1580,6 @@ shashankvarma
15801580
Ravindra
15811581
multiplexer
15821582
openpgp
1583+
eMudhra
1584+
trixie
1585+
Trixie

‎content/docs/trust/trust-manager/README.md‎

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -327,21 +327,54 @@ The currently supported trust packages are:
327327

328328
<a id="trust-package-versions"></a>
329329

330-
| Image Name | Default for trust-manager? | Based On | Link |
331-
|:----------------------------------------------:|:--------------------------:|:---------------:|:----------------:|
332-
| `quay.io/jetstack/trust-pkg-debian-bookworm` | &gt;= `v0.16` | Debian Bookworm | [Link][bookworm] |
333-
| `quay.io/jetstack/cert-manager-package-debian` | &lt;= `v0.15` | Debian Bullseye | [Link][bullseye] |
330+
| Image Name | Default for trust-manager? | Based On | Link |
331+
|:----------------------------------------------:|:--------------------------------:|:---------------:|:----------------:|
332+
| `quay.io/jetstack/trust-pkg-debian-trixie` | &gt;= `v0.23` | Debian Trixie | [Link][trixie] |
333+
| `quay.io/jetstack/trust-pkg-debian-bookworm` | &gt;= `v0.16` &amp; &lt; `v0.23` | Debian Bookworm | [Link][bookworm] |
334334

335+
[trixie]: https://quay.io/repository/jetstack/trust-pkg-debian-trixie?tab=tags&tag=latest
335336
[bookworm]: https://quay.io/repository/jetstack/trust-pkg-debian-bookworm?tab=tags&tag=latest
336-
[bullseye]: https://quay.io/repository/jetstack/cert-manager-package-debian?tab=tags&tag=latest
337337

338338
The version can be configured with `.defaultPackageImage.repository` and `.defaultPackageImage.tag` via Helm chart values, and the version
339339
is also written to the `status` field on any synced Bundle resource which uses the default CA package.
340340

341+
### Deprecated Trust Packages
342+
343+
We previously supported `quay.io/jetstack/cert-manager-package-debian` [based on Debian Bullseye][bullseye], but this package
344+
was deprecated as the upstream Debian distribution reached end-of-life.
345+
346+
Any users running that package should upgrade to Bookworm or Trixie immediately.
347+
348+
[bullseye]: https://quay.io/repository/jetstack/cert-manager-package-debian?tab=tags&tag=latest
349+
350+
### eMudhra Compromise
351+
352+
The [eMudhra issue](https://emudhra.we-have-a-problem.com/) led to an emergency distrust of a CA certificate which had signed
353+
intermediate certs whose private keys were trivially recoverable.
354+
355+
trust-manager is designed to help with this kind of issue by providing a single place to update trusted CA certs across a cluster.
356+
Clusters running trust-manager are in a better place to deal with the eMudhra issue than clusters which leave individual containers
357+
to make trust decisions.
358+
359+
The fixed default trust packages are:
360+
361+
- Trixie (recommended): `quay.io/jetstack/trust-pkg-debian-trixie:20250419-deb13u1.0` (or newer)
362+
- Bookworm: `quay.io/jetstack/trust-pkg-debian-bookworm:20250419-deb12u2.0` (or newer)
363+
364+
> ℹ️ Don't be caught out by the tags appearing to contain dates from 2025 - this is a side effect of how Debian version their
365+
> `ca-certificates` package which we reflect directly in our tags.
366+
367+
Bullseye-based packages are deprecated and will not be patched since the upstream distribution is end-of-life.
368+
369+
To protect any pods using a trust-manager bundle you must ensure you're running a patched version of the default CA package.
370+
371+
To protect any pods _not_ using a trust-manager bundle, we recommend pointing them instead at a patched trust-manager bundle.
372+
Protecting other trust bundles is outside of the scope of the cert-manager project.
373+
341374
## Upgrading a Default CA Package Using Helm
342375

343-
Say we want to do an in-place upgrade of our default CA package from the "old" trust package (`cert-manager-package-debian`) to
344-
a newer package (`trust-pkg-debian-bookworm`).
376+
Say we want to do an in-place upgrade of our default CA package from an older trust package (say the deprecated
377+
`cert-manager-package-debian`) to the current package (`trust-pkg-debian-trixie`).
345378

346379
We'll assume the Helm release is called "trust-manager" and that we've installed into the `cert-manager` namespace.
347380

@@ -365,10 +398,13 @@ Otherwise, add them. We list image names and links to get tags [above](#trust-pa
365398
...
366399
# NB: The tag below might not be the latest; you should check!
367400
defaultPackageImage:
368-
repository: quay.io/jetstack/trust-pkg-debian-bookworm
369-
tag: "20230311.0" # quotes are important
401+
repository: quay.io/jetstack/trust-pkg-debian-trixie
402+
tag: "20250419-deb13u1.0" # quotes are important
370403
```
371404

405+
> ⚠️ Be sure to pick a tag which is at least as new as the patched packages listed under
406+
> [eMudhra Compromise](#emudhra-compromise); older tags still trust the compromised CA.
407+
372408
Finally, apply back the changes, being sure to manually specify the version of trust-manager which is installed, to avoid
373409
also updating the trust-manager controller at the same as the default CA package:
374410

0 commit comments

Comments
 (0)