Cryptograhpically Sign releases

未关闭
#3,968 9 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
github

调研方向

首先查看 Flarum 下载页面和 issue 中链接的文档页面,然后追踪 release artifacts 如何在 GitHub 上发布。定义密钥分发方式、release 签名或 digest artifact,以及验证说明;完成的标准是用户可以通过独立渠道获取密钥、验证 release,并从下载页面找到该流程。

由索引模型根据 Issue 内容生成。

描述

meta
Current Behavior

Currently it is not possible to verify the authenticity or cryptographic integrity of the downloads from flarum.org or github.com because the releases are not cryptographically signed.

This makes it hard for flarum users to safely obtain the flarum software, and it introduces them (and potentially their user's data) to watering hole attacks.

Steps to Reproduce
  1. Go to the flarum.org
  2. Click Download Now
  3. ???
Expected Behavior

A few things are expected:

  1. I should be able to download the flarum PGP key out-of-band from popular third-party keyservers (eg https://keys.openpgp.org/)
  2. I should be able to download a cryptographic signature of the release (or, better, the releases' digest file, such as a SHA256SUMS.asc file) along with the release itself
  3. The downloads page itself should include a link to the documentation page that describes how to do the above two steps
Screenshots

No response

Environment

Everything, all versions. Extensions too.

Output of php flarum info
Output of "php flarum info", run this in terminal in your Flarum directory.
Possible Solution

See "Expected Behaviour" Section

Additional Context

No response

主要语言
PHP
星标
6.8k
派生
891
平均合并
1 天 10 小时
30 天内合并 PR
209

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

flarum/framework 的其他 Issue

查看 flarum/framework 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。