Automation tool for generating PGP key for setting up sbt-ci-release.
- Java 21+ (For Virtual Thread)
Use Coursier.
% cs launch dev.capslock::scala-pgp-bootstrap:<VERSION>- Generate PGP key into local keyring
- EDDSA(ed25519) sign-only key (no auth/encryption)
- no expiration
- Publish key into keyservers (
hkps://keys.openpgp.org,hkps://keyserver.ubuntu.com) - Set up PGP key and passphrase as GitHub Secrets
PGP_PASSPHRASE-- passphrase for PGP secret keyPGP_SECRET-- base64-encoded PGP secret key