exercism / exercism/configlet

fetch-configlet: consider verifying release signature

Open
#573 1 comment 0 reactions 0 assignees View on GitHub
kind: feature
Dominant language
Nim
Stars
23
Forks
17
Avg merge
13h 57m
Merged PRs (30d)
1

Description

To verify the release, the user would need to have minisign installed. That's less onerous than it may seem, because it's tiny and much more straightforward than working with gpg.

And unless we instead upload one `.minisig` file for each release asset, we also need to be able to hash the download on the user's machine and compare it to the hash in the checksums file.

Options for fetch-configlet behavior:
1. Error immediately if minisign is not installed. This is too strict.
2. If minisign is installed, verify the release signature and print that we did so. Otherwise print a message saying something like "Release signature not verified. To verify the signature, install minisign and re-run fetch-configlet."
3. If minisign is installed, verify the release signature and print that we did so. Otherwise, print nothing.
4. The status quo: do not verify the release signature, even if minisign is installed. Somebody who wants to verify the signature must do it manually.

I'm OK with option 4 for now. Option 2 has the potential to sound scary. Option 3 could be nice.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.