Skip to content

Commit b8ad9ba

Browse files
authored
Using short key id (#262)
1 parent dbd3b99 commit b8ad9ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.buildkite/hooks/pre-command

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export KEY_ID_SECRET
6161
echo "$KEYPASS_SECRET" | gpg --batch --import "$KEY_FILE"
6262

6363
# Export secring
64-
SECRING_ASC=$(gpg --pinentry-mode=loopback --passphrase "$KEYPASS_SECRET" --armor --export-secret-key dev_ops@elasticsearch.org)
64+
SECRING_ASC=$(gpg --pinentry-mode=loopback --passphrase "$KEYPASS_SECRET" --armor --export-secret-key "$KEY_ID_SECRET")
6565
export SECRING_ASC
6666

6767
echo "--- Configure git context :git:"

0 commit comments

Comments
 (0)