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

Đang mở
#48 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
rust
Lĩnh vực
release, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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).

Ngôn ngữ chính
Rust
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của GoogleBot42/podd

Tất cả issue của GoogleBot42/podd

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.