Skip to content

release: pin the GPG signing key for archive .asc files - #86

Merged
jessesaga merged 1 commit into
masterfrom
fix/release-signing-key
Jun 12, 2026
Merged

release: pin the GPG signing key for archive .asc files#86
jessesaga merged 1 commit into
masterfrom
fix/release-signing-key

Conversation

@jessesaga

Copy link
Copy Markdown
Contributor

Summary

make release signs the distribution archives with gpg --detach-sign --armor without -u, so it uses gpg's default secret key. A second secret key (Saga IT LLC <admin@saga-it.com>) is now in the keyring and no default-key is configured, so the default resolves to the wrong key — the mirthsync-3.6.0.tar.gz.asc / .zip.asc signatures would not match the signed git tag (pinned via user.signingkey) or the .asc files on the 3.5.1/3.5.2 releases.

Fix

Pin -u jesse.dowell@gmail.com on the two gpg --detach-sign lines — the same key as project.clj's :signing {:gpg-key ...} and the release git tag. Now the archive signatures are reproducible and consistent regardless of keyring order on the release machine.

No functional/code change; build tooling only. Verified -u jesse.dowell@gmail.com resolves to BAD6…CCB5 (the historical release key).

gpg --detach-sign used no -u, so it signed with gpg's default secret
key. With a second secret key (Saga IT LLC) now in the keyring and no
default-key configured, the default resolved to the wrong key — the
release archive .asc files would not match the signed git tag or the
prior 3.5.x release signatures.

Pin -u jesse.dowell@gmail.com (same key as project.clj :signing and
user.signingkey) so the tarball/zip signatures are reproducible and
consistent regardless of keyring order.
@jessesaga
jessesaga merged commit b014c21 into master Jun 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants