Skip to content

windymelt/scala-maven-central-pgp-key-bootstrap

Repository files navigation

scala-pgp-bootstrap Sonatype Central

Automation tool for generating PGP key for setting up sbt-ci-release.

Prerequisites

  • Java 21+ (For Virtual Thread)

How to run

Use Coursier.

% cs launch dev.capslock::scala-pgp-bootstrap:<VERSION>

What it does

  • 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 key
    • PGP_SECRET -- base64-encoded PGP secret key

About

Tiny script which generates and uploads PGP key

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages