Release integrity: sign SHA256SUMS; checksums today come from the same release

オープン
#279 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, rust, shell
領域
release, security

調査の方向性

Start by reading crates/atlas-cli/src/commands/release.rs (lines 15-45) to see how the .sha256 asset is fetched and trusted, then the checksum-only check at desktop_linux.rs:150 and the unsigned SHA256SUMS/manifest.json writes in release.yml (710-716). The public-key embedding also touches install.sh, and docs/release.md needs the rotation section. Done means the two acceptance bullets pass: a tampered asset with a matching .sha256 is rejected by atlas update, atlas desktop and install.sh, and the workflow signs. Note this is a design decision (minisign vs cosign keyless) that should be agreed with maintainers before coding.

索引モデルが issue の本文から書いたものです。

説明

area: ci area: installer priority: 2 normal status: confirmed type: feature

Linux roadmap item (tracking: #289). Evidence is from reading code at main (9c32731) and a hand test on Omarchy (Arch, Hyprland Wayland, AMD 680M, Mesa 26.2.5, AppImage 1.5.0-alpha.25). [INFERENCE] marks anything not observed directly.

Problem

crates/atlas-cli/src/commands/release.rs:15-45 downloads <asset>.sha256 from the same GitHub release it verifies; release.yml:710-716 writes unsigned SHA256SUMS/manifest.json; desktop_linux.rs:150 checks ELF magic only. A swapped release or compromised account passes every check (CLI update, install.sh, AppImage sync).

Proposal

Sign SHA256SUMS with minisign (or cosign keyless); embed the public key in the CLI and install.sh; verify before trusting any checksum. GitHub attestations are a complement, not a replacement (install.sh must not need gh). Document rotation.

Acceptance

  • A tampered asset with a matching .sha256 is rejected by atlas update, atlas desktop and install.sh.
  • Release workflow signs; key rotation documented in docs/release.md.
主要言語
Rust
スター
3
フォーク
1
平均マージ
9時間 51分
マージ済み PR(30日)
310

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

codeatlasdev/atlas のほかの issue

codeatlasdev/atlas の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。