Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: sign pre-built binary with GPG key (backport #2568) #2640

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 9, 2023

This is an automatic backport of pull request #2568 done by Mergify.
Cherry-pick of 934fded has failed:

On branch mergify/bp/v1.x/pr-2568
Your branch is up to date with 'origin/v1.x'.

You are currently cherry-picking commit 934fded.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   .goreleaser.yaml
	modified:   README.md
	new file:   scripts/signing/celestia-app-maintainers.asc
	new file:   scripts/signing/verify-signature.sh

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   .github/workflows/ci-release.yml

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

Closes #2445

## Testing

1. On my fork, I pushed the contents of this PR to main and then created
https://github.com/rootulp/celestia-app/releases/tag/v1.0.0-rc4.
2. Verified that the checksum is correct
  ```shell
  $     sha256sum --ignore-missing --check checksums.txt
  celestia-app_Linux_x86_64.tar.gz: OK
  ```
3. Verified that the signature is correct
  ```shell
  $ ./verify-signatures.sh checksums.txt.sig checksums.txt
  Importing the celestia-app-maintainers public key...
  gpg: key D469F859693DC3FA: no user ID
  gpg: Total number processed: 1
  Verifying the signature of checksums.txt.sig with checksums.txt
  gpg: Signature made Fri Oct  6 16:19:01 2023 EDT
gpg: using EDDSA key ACF99399A35311E95B2432072B987E2A363550BE
gpg: Good signature from "rootulp-test-goreleaser <rootulp@gmail.com>"
[ultimate]
  ```

Note: the GPG key used to sign for celestiaorg/celestia-app will have a
different ID / email address from the one here ^

---------

Co-authored-by: Matthew Sevey <mjsevey@gmail.com>
(cherry picked from commit 934fded)

# Conflicts:
#	.github/workflows/ci-release.yml
@mergify mergify bot added the conflicts label Oct 9, 2023
@celestia-bot celestia-bot requested a review from a team October 9, 2023 14:06
@github-actions github-actions bot added the bot item was created by a bot label Oct 9, 2023
@rootulp rootulp enabled auto-merge (squash) October 9, 2023 14:09
@celestia-bot celestia-bot requested a review from a team October 9, 2023 14:09
@rootulp rootulp removed the conflicts label Oct 9, 2023
@rootulp rootulp merged commit 38e59a5 into v1.x Oct 9, 2023
23 of 24 checks passed
@rootulp rootulp deleted the mergify/bp/v1.x/pr-2568 branch October 9, 2023 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot item was created by a bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants