Release integrity: sign SHA256SUMS; checksums today come from the same release
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 42/100
调研方向
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 内容生成。
描述
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
.sha256is rejected byatlas update,atlas desktopand install.sh. - Release workflow signs; key rotation documented in
docs/release.md.
- 主要语言
- Rust
- 星标
- 3
- 派生
- 1
- 平均合并
- 9 小时 51 分钟
- 30 天内合并 PR
- 310
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codeatlasdev/atlas 的其他 Issue
-
type: bug
难度 2/5 1-3 小时 新手友好度 75/100
codeatlasdev/atlas#597 ·
维护者通常 1 天内回复
-
area: ci os: linux type: bug
难度 2/5 1-3 小时 新手友好度 78/100
codeatlasdev/atlas#496 ·
维护者通常 1 天内回复
-
area: ci type: bug
难度 3/5 1-2 天 新手友好度 68/100
codeatlasdev/atlas#596 ·
维护者通常 1 天内回复
-
os: linux type: bug
难度 3/5 1-2 天 新手友好度 68/100
codeatlasdev/atlas#591 ·
维护者通常 1 天内回复
-
area: ci os: windows type: bug
难度 3/5 1-2 天 新手友好度 56/100
codeatlasdev/atlas#550 · 1 条评论 ·
维护者通常 1 天内回复
查看 codeatlasdev/atlas 的全部 Issue
相似的 Issue
-
marketing
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
kinqsradio/orbyn-engineering#729 ·
-
Plans page scenario races Shift+Tab against the plan list being drawn again in Firefox and WebKit未关闭bug
难度 2/5 1-3 小时 新手友好度 83/100
nledford/Ladderback#1091 ·
维护者通常 1 天内回复
-
bug fix packaging ui user-sprint
难度 2/5 1-3 小时 新手友好度 78/100
Vondor/KassenSturz#1197 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复