1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
 

What do others use for ensuring the authenticity of images after downloading them with docker pull?

We’ve setup our CI build process to use docker for consistent, cross-platform builds. To ensure that our builds don’t use a malicious docker image (because the surface area of attack with TLS is enormous if you’re using X.509), we’ve been using DCT (Docker Content Trust).

Unfortunately, I just discovered that the official docker documentation says that DCT is being deprecated. Apparently this was announced last year, and in June this blog post was published with advice:

Cosign is not secure

We spent some time looking into cosign, but we discovered that the private keys aren't actually in the hands of the developer.

Rather, they use this complicated setup using very insecure X.509 to issue temporary certificates.

The result is that the OIDC identity provider (e.g., GitHub) extends the vector of attack significantly -- to probably tens of thousands of people -- that can publish a malicious image that will be accepted by cosign as "trusted"

Notation (Notary v2)

I also looked at Notation (aka “Notary v2”), but there’s no way to bootstrap the software safely, since (perplexingly) their tool for verifying the authenticity of images using cryptographic signatures itself can’t be verified using a cryptographic signature.

Alternatives

Are there any other alternatives that I can use to replace DCT to ensure the authenticity (using cryptography) of the container images that I download -- where the keys are actually held by the developer (thus significantly reducing the "insider threat" risk)?

What do you (or does your org do) to ensure that you’re not using maliciously-modified containers after pulling a new docker image?

17
 
 

For @DevOpsDaysPDX in Sep I'm updating all of the @CloudNativeFdn #cloudnative #observability workshops. Today it's @Prometheus upgrades and adding the @RancherDesktop with #k3s install paths for a true @kubernetes #o11y adventure! @SUSE bit.ly/devopsdays-pdx-o11y-wor

18
19
20
21
 
 

Having some fun with @OpenSearchProject integration lab with @fluentbit as I'm updating it all to add the @kubernetes learning path using #k3s with @RancherDesktop... lots of #helm to get your #cloudnative #observability blood pumping! #o11y @SUSE o11y-workshops.gitlab.io/works

22
Announcing etcd v3.7.0 (kubernetes.io)
submitted 4 months ago by to c/kubernetes@programming.dev
23
24
25
 
 

Exciting news for the @kubernetes & @OpenSearchProject community!Want to autoscale your #Kubernetes workloads based on 'opensearch search template query' or 'opensearch query' result? Now you can, with #KEDA, with the new scaler!linkedin.com/posts/horovits_ku#OpenSearchAmbassador #OpenSearch

view more: next ›