Sign container images #10624

Open
opened 2022-02-07 22:50:13 +00:00 by demiobenour · 14 comments
  • Describe the issue

    Fedora’s container images should be signed by official Fedora project keys, just like Red Hat’s are.

  • When do you need this? (YYYY/MM/DD)

    2022/02/21 but sooner would be amazing

  • When is this no longer needed or useful? (YYYY/MM/DD)

    N/A — sooner is better than later, but later is better than never

  • If we cannot complete your request, what is the impact?

    Qubes OS will need to generate and sign its own container images, since it cannot verify the authenticity of ones shipped by Fedora.

* Describe the issue Fedora’s container images should be signed by official Fedora project keys, just like Red Hat’s are. * When do you need this? (YYYY/MM/DD) 2022/02/21 but sooner would be amazing * When is this no longer needed or useful? (YYYY/MM/DD) N/A — sooner is better than later, but later is better than never * If we cannot complete your request, what is the impact? Qubes OS will need to generate and sign its own container images, since it cannot verify the authenticity of ones shipped by Fedora.
Member

Metadata Update from @zlopez:

  • Issue tagged with: meeting
**Metadata Update from @zlopez**: - Issue tagged with: meeting
Owner

Any ideas about how to approach this? @cverna @otaylor

Any ideas about how to approach this? @cverna @otaylor
Owner

Metadata Update from @amedvede:

  • Issue tagged with: sprint-2
**Metadata Update from @amedvede**: - Issue tagged with: sprint-2
Owner

@demiobenour Do it still needed?

@demiobenour Do it still needed?
Owner

Metadata Update from @amedvede:

  • Issue assigned to amedvede
**Metadata Update from @amedvede**: - Issue assigned to amedvede
Author

@amedvede if it hasn't been implemented, it's still needed.

@amedvede if it hasn't been implemented, it's still needed.

Related to this, travier requested a way to use cosign to sign containers. Those wouldn't be GPG signatures, though.

Related to this, [travier](https://github.com/fedora-infra/siguldry/issues/49) requested a way to use cosign to sign containers. Those wouldn't be GPG signatures, though.
Owner

Metadata Update from @jnsamyak:

  • Issue tagged with: medium-gain, medium-trouble
**Metadata Update from @jnsamyak**: - Issue tagged with: medium-gain, medium-trouble
Owner

Investigating it

Investigating it
Owner

Issue tagged with: sprint-3

Issue tagged with: sprint-3
Owner

Issue tagged with: sprint-4

Issue tagged with: sprint-4
Owner

Metadata Update from @jnsamyak:

  • Issue untagged with: sprint-2, sprint-3
**Metadata Update from @jnsamyak**: - Issue **un**tagged with: sprint-2, sprint-3
Owner

Hey all, lets go deep into this problem and hopefully will fix it soon enough

  1. We making 3 container images fedora-base, fedora-minimal, fedora-toolbox and sync those images to quay.io, we build them using pungi. And here I see at least in description that it uses kickstarts to build container image for docker hub. So question is what exactly images you would to be signed?
    2)As far as I know we don't support to update dockerhub, and it should be documented somewhere. Can you suggest the place where? Also fix if I'm mistaking.
    3)Can you verify that image is still not signed? because pungi config has variable sigkey so it might be signed indeed. Would like to mention that I'm not an expert in signing and just trying to learn how this process works so fix me where I'm wrong.
    4)If it still needed I believe it should be done on on pungi side
Hey all, lets go deep into this problem and hopefully will fix it soon enough 1) We making 3 container images `fedora-base`, `fedora-minimal`, `fedora-toolbox` and sync those images to quay.io, we build them using pungi. And [here](https://github.com/fedora-cloud/docker-brew-fedora) I see at least in description that it uses kickstarts to build container image for docker hub. So question is what exactly images you would to be signed? 2)As far as I know we don't support to update dockerhub, and it should be documented somewhere. Can you suggest the place where? Also fix if I'm mistaking. 3)Can you verify that image is still not signed? because `pungi` config has variable `sigkey` so it might be signed indeed. Would like to mention that I'm not an expert in signing and just trying to learn how this process works so fix me where I'm wrong. 4)If it still needed I believe it should be done on on pungi side

As far as I know the Fedora container images are still not signed.

As Jeremy mentioned, I requested in https://github.com/fedora-infra/siguldry/issues/49 support for cosign signatures.

In the mean time, we are currently signing Fedora CoreOS container images with GPG signatures (https://github.com/coreos/fedora-coreos-config/blob/testing-devel/overlay.d/17fcos-container-signing/etc/containers/registries.d/fedora-coreos.yaml) but this is not ideal.

As far as I know the Fedora container images are still not signed. As Jeremy mentioned, I requested in https://github.com/fedora-infra/siguldry/issues/49 support for cosign signatures. In the mean time, we are currently signing Fedora CoreOS container images with GPG signatures (https://github.com/coreos/fedora-coreos-config/blob/testing-devel/overlay.d/17fcos-container-signing/etc/containers/registries.d/fedora-coreos.yaml) but this is not ideal.
jnsamyak added this to the Backlog project 2026-04-30 08:47:22 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
7 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
releng/tickets#10624
No description provided.