diff --git a/.github/workflows/berachain_release.asc b/.github/workflows/berachain_release.asc
new file mode 100644
index 0000000000..2136b71458
--- /dev/null
+++ b/.github/workflows/berachain_release.asc
@@ -0,0 +1,13 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mDMEZ4wNfRYJKwYBBAHaRw8BAQdAwL8LSYcQrJUeVlFEB8z8CHvCVwF1pIeCesfz
+STwDJFq0IGFCZWFyIChyaykgPGFiZWFyQGJlcmFjaGFpbi5jb20+iJkEExYKAEEW
+IQTdYm1hDE1/yPhSAHZyntHMpH7vzQUCZ4wNfQIbAwUJAE8aAAULCQgHAgIiAgYV
+CgkICwIEFgIDAQIeBwIXgAAKCRByntHMpH7vzZVwAQDFwlQUWDm6ElGJGujpOwmg
+v4ErEw4RQ9QhFU+m/W9egQD+P0itmUAoiEbM8YXHmpEcmS8ThL15EFf4/oDQ85xR
+KwW4OARnjA19EgorBgEEAZdVAQUBAQdA7eVLItcuC8tZqrn6BSQI85EU6UURjhon
+OOZVl5SnCgEDAQgHiH4EGBYKACYWIQTdYm1hDE1/yPhSAHZyntHMpH7vzQUCZ4wN
+fQIbDAUJAE8aAAAKCRByntHMpH7vzQqzAP4yhkQN4ppTkvylGQVhq6dS6plCBSvl
+r1JKaeihAncYzgEA2X3HcALQlzaW3KY5aFAiAKRb4ihRMRIqoeeemmRsVww=
+=Jr9o
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 2292363015..d3ba770a87 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -35,7 +35,7 @@ on:
env:
REPO_NAME: ${{ github.repository }}
IMAGE_NAME: ${{ github.repository }}
- GH_TOKEN: ${{ secrets.GH_TOKEN }}
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
# Job to extract version
@@ -129,7 +129,6 @@ jobs:
echo "EOF" >> $GITHUB_OUTPUT
- name: Create release draft
env:
- GITHUB_USER: ${{ github.repository_owner }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The formatting here is borrowed from Reth (which is borrowed from Lighthouse (which is borrowed from OpenEthereum)):
# https://github.com/openethereum/openethereum/blob/6c2d392d867b058ff867c4373e40850ca3f96969/.github/workflows/build.yml
@@ -180,6 +179,19 @@ jobs:
|
| arm64 | [beacond-${{ env.VERSION }}-darwin-arm64](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/beacond-${{ env.VERSION }}-darwin-arm64.tar.gz) | [Signature](https://github.com/${{ env.REPO_NAME }}/releases/download/${{ env.VERSION }}/beacond-${{ env.VERSION }}-darwin-arm64.tar.gz.sig) |
| **System** | **Option** | - | **Resource** |
|
| Docker | | [${{ env.IMAGE_NAME }}](https://ghcr.io/berachain/beacon-kit) |
+
+ ### Verifying signatures
+ Use gpg to verify the signature on these binary archives. This is important to make sure that the content you\'ve downloaded is legitimate. gpg can be installed with most package managers. For example:
+ - `brew install gpg` on mac
+ - `apt install gpg` on Ubuntu/Debian
+
+ Once gpg is installed, import our public key into its database and verify:
+ - [Download signing public key from here](https://raw.githubusercontent.com/${{ github.repository }}/${{ github.ref_name }}/.github/workflows/berachain_release.asc).
+ - Run `gpg --import berachain_release.asc`
+ - Verify with `gpg --verify {signature}.sig {binary}.tar.gz`
+ - This message is expected: `WARNING: This key is not certified with a trusted signature!`
+ - To resolve the warning, trust the key by signing with your own keypair. `gpg --lsign-key `
+
ENDBODY
)
assets=()