RAUC keyring.pem is referenced but never installed into the rootfs

Aperta
#48 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
rust
Ambito
release, security

Direzione di ricerca

Read rauc-system.conf and post-build.sh, especially lines 55–58, to trace how the configured keyring path relates to image contents. Check the image build flow for how release certificates are provided and whether a missing keyring can be detected. Done means the release image includes its provisioned keyring, or the build fails clearly when it is unset.

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

Descrizione

bug

rauc-system.conf sets [keyring] path=/etc/rauc/keyring.pem, but post-build.sh only leaves a comment and a TODO(release) at lines 55-58 ('drop the real signing cert here') — no keyring.pem is ever installed (no keyring file in the overlay or post-build). RAUC refuses to verify/install any bundle without a keyring, so even once the U-Boot A/B integration lands, rauc install will fail closed until a cert is provisioned. Either bake a per-owner cert at release time or fail the image build loudly if the keyring is unset, rather than shipping an image whose configured keyring path does not exist.


Filed from a repo-wide code audit (working tree at bcad746).

Lingua principale
Rust
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 GoogleBot42/podd

Tutte le issue di GoogleBot42/podd

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.