Skip to content

Commit

Permalink
Fix the release signing process to use RSA
Browse files Browse the repository at this point in the history
* Terraform Registry does not yet support ed25519 so revert to
using the older RSA key that has been used to sign prior releases
  • Loading branch information
dghubble committed Mar 25, 2024
1 parent fc513c2 commit 0d76917
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ Notable changes between releases.

## Latest

## v0.5.4

* Fix release signing process to use a compatible OpenPGP key algorithm
* Terraform Registry does not support ed25519, sign with the RSA key like in past releases

## v0.5.3

* Maintenance update to bump dependencies
* Skip this release, it was signed with the wrong key

## v0.5.2

Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,11 @@ _output/%/terraform-provider-matchbox:

release-sign:
cd _output; sha256sum *.zip > terraform-provider-matchbox_$(SEMVER)_SHA256SUMS
gpg2 --detach-sign _output/terraform-provider-matchbox_$(SEMVER)_SHA256SUMS
gpg --default-key 0x8F515AD1602065C8 --detach-sign _output/terraform-provider-matchbox_$(SEMVER)_SHA256SUMS

release-verify: NAME=_output/terraform-provider-matchbox
release-verify:
gpg2 --verify $(NAME)_$(SEMVER)_SHA256SUMS.sig $(NAME)_$(SEMVER)_SHA256SUMS

gpg --verify $(NAME)_$(SEMVER)_SHA256SUMS.sig $(NAME)_$(SEMVER)_SHA256SUMS

.PHONY: certificates
certificates:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ terraform {
required_providers {
matchbox = {
source = "poseidon/matchbox"
version = "0.5.2"
version = "0.5.4"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ terraform {
required_providers {
matchbox = {
source = "poseidon/matchbox"
version = "0.5.2"
version = "0.5.4"
}
}
}
Expand Down

0 comments on commit 0d76917

Please sign in to comment.