Chains should stop signing artifacts type-hinted in pipelines

Aperta
#1,346 7 commenti 2 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
go
Ambito
devops, security

Direzione di ricerca

La issue non indica alcun file, test o punto di ingresso. Inizia tracciando il modo in cui Chains individua gli artefatti della pipeline con annotazioni di tipo e applica le firme, quindi chiarisci con i maintainer il comportamento previsto e quali test di verifica o di provenienza sono interessati. Il lavoro sarà completato quando gli artefatti con annotazioni di tipo non verranno firmati, a meno che Chains non possa stabilirne la provenienza.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

kind/feature
Feature request

Chains uses type hinting to identify the artifacts that might be produced in a pipeline. Even if it was possible for Chains to identify whether the artifact was produced in the pipeline, Chains knows nothing about the artifact.

Since Chains knows nothing about, a consumer of the signed artifacts would not have any additional hardened security posture by requiring this Chains produced signature. At best, consumers would know to effectively ignore the signature. At worst, consumers would put additional trust in the signature which can be easily applied to untrusted artifacts.

If signatures are just used to ensure that artifacts are not mutated from when they were produced, the generated SLSA provenance can be used as this also is created with the Chains identity.

Use case

Consumers of signatures might want to use signature verification as a means to hardening a software supply chain. Therefore, signatures should have a specific meaning which maps to a supply chain hardening pattern.

Lingua principale
Go
Stelle
279
Fork
171
Merge medio
2g 4h
PR unite (30g)
70

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tektoncd/chains

Tutte le issue di tektoncd/chains

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.