-
Notifications
You must be signed in to change notification settings - Fork 11
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
Receive GPG key while publishing artifacts #101
Conversation
gpg --batch \ | ||
--passphrase "${GPG_PASSPHRASE}" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because we're not using passphrase for this key, the --batch
and --passphrase
options are unnecessary.
@@ -22,10 +22,10 @@ aliases: | |||
- run: | |||
name: "Import signing key" | |||
command: | | |||
gpg --keyserver keyserver.ubuntu.com \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're specifying the Ubuntu keyserver here to mirror the approach taken by @jodersky. We've found that this keyserver was updated more quickly than the default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(sorry for the needless ping Jakob, I'm way too used to at-mentioning all over the place, thanks for the inspiration!)
@@ -22,10 +22,10 @@ aliases: | |||
- run: | |||
name: "Import signing key" | |||
command: | | |||
gpg --keyserver keyserver.ubuntu.com \ | |||
--recv-keys 0x713F9F29598CFFF3 && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the Azavea public GPG key.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Overview
This retrieves an up-to-date copy of the Azavea public GPG key during the
run_cipublish
build stage.The CircleCI build will now retrieve the latest copy of the public key, allowing us to renew the key in the future by pushing a new signature with an extended expiration date to public keyservers.
Checklist
- [ ] New tests have been added or existing tests have been modifiedTesting Instructions
run_cipublish
.Connects azavea/operations#446