From 64a86a229e12fcb0daa1f81aad8bdc91ba0b1ba5 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 3 Aug 2022 12:00:09 -0600 Subject: [PATCH] Use short key IDs for PGP. (#202) * Use short key IDs for PGP. * Fix syntax error. --- .github/workflows/release-github.yaml | 2 +- android/gradle.properties | 3 ++- java/tests/publish.sbt | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-github.yaml b/.github/workflows/release-github.yaml index c685d63..e65b8cd 100644 --- a/.github/workflows/release-github.yaml +++ b/.github/workflows/release-github.yaml @@ -208,7 +208,7 @@ jobs: wget -q ${ARTIFACT} SHA256=$(sha256sum -b ironoxide-homebrew.tar.gz | awk '{print $1}') echo "::set-output name=tag::${NAME}" - echo "::set-output name=pr_branch::ironoxide-swig-bindings-${NAME} + echo "::set-output name=pr_branch::ironoxide-swig-bindings-${NAME}" echo "::set-output name=artifact::${ARTIFACT}" echo "::set-output name=sha256::${SHA256}" - name: Edit files for pending release diff --git a/android/gradle.properties b/android/gradle.properties index 0e26732..4d7c966 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -5,6 +5,7 @@ android.enableJetifier=true VERSION_NAME=0.14.7-SNAPSHOT # GPG info for signing artifacts before uploading them. -signing.keyId=1F6210B39FA43559 +# This key is the last 4 bytes of the key ID of the signing subkey. +signing.keyId=9FA43559 signing.secretKeyRingFile=/tmp/signing-key.gpg signing.password= diff --git a/java/tests/publish.sbt b/java/tests/publish.sbt index d5071db..9013444 100644 --- a/java/tests/publish.sbt +++ b/java/tests/publish.sbt @@ -12,7 +12,8 @@ pomIncludeRepository := { _ => false } useGpg := true -usePgpKeyHex("1F6210B39FA43559") +// This key is the last 4 bytes of the key ID of the signing subkey. +usePgpKeyHex("9FA43559") pomExtra := (