Skip to content

Can't publish to Maven Central due to GPG problem #10763

@pdurbin

Description

@pdurbin

As I mentioned in standup this morning, it's been on my mind that the GPG key we use to sign artifacts before uploading to Maven Central was supposed to expire on 2024-07-29.

This morning I kicked off a couple attempts to release artifacts on a couple non-important repos...

... and they both failed with a GPG error, but not about an expiration:

[INFO] Signer 'gpg' is signing 4 files with key default
gpg: no default secret key: No secret key
gpg: signing failed: No secret key

Basically, I'm not sure what's going on. Maybe the key is expired. Maybe it's something else. Either way, we should do something because we can't currently publish to Maven Central. We have secrets defined in both @IQSS and @gdcc (we publish from both orgs) such as MAVEN_GPG_PASSPHRASE: ${{ secrets.DATAVERSEBOT_GPG_PASSWORD }} and we might need to update them.

I wrote a bit about our release process for libraries at https://guides.dataverse.org/en/6.3/developers/making-library-releases.html but there's very little on that page about GPG. Perhaps we could add something.

I'm giving this a 3 but I'm not actually sure how much work it is.

Metadata

Metadata

Assignees

Labels

Component: Code Infrastructureformerly "Feature: Code Infrastructure"Size: 3A percentage of a sprint. 2.1 hours.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions