Sign artifacts in build instead of in bintray. #1778
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We don't have to do this, but figured I'd whip it up as an idea.
This configures the build to sign artifacts instead of using Bintray's global key. This allows users to verify that the signing key is indeed owned by OTel (perhaps using Nexus Pro and a strict verification policy), possibly reduces some load on Bintray during publishing, and gives some flexibility if we want to try other publishing options.
For now, I just made a key for OpenTelemetry Java
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 3F05DDA9F317301E927136D417A27CE7A60FF5F0We can change the key as we want to - not sure if it makes sense to have a global GPG key for OTel or stick with one for OTel Java. Otherwise, I'd need a way to share this key with other maintainers, especially the revocation key.