Cryptograhpically Sign releases

Open
#3,968 9 comments 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
github

Research direction

Start by reviewing the Flarum download page and the documentation page linked in the issue, then trace how release artifacts are published on GitHub. Define the key distribution, release signature or digest artifact, and verification instructions; done means users can obtain the key out-of-band, verify a release, and find the process from the downloads page.

Written by the indexing model from the issue text.

Description

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

Dominant language
PHP
Stars
6.8k
Forks
891
Avg merge
1d 10h
Merged PRs (30d)
209

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flarum/framework

All issues in flarum/framework

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.