diff options
author | Jakob Odersky <jakob@odersky.com> | 2016-05-20 15:38:40 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2016-05-20 15:38:40 -0700 |
commit | 6c9cdfa387afe7480231d751d4966317bdbd6402 (patch) | |
tree | 57b2d280ef5112be2f359b3b7649719276ce0a88 /.drone | |
parent | 5c9a9d70351a721522d854aa4ca2a60de17882b4 (diff) | |
download | dummy-6c9cdfa387afe7480231d751d4966317bdbd6402.tar.gz dummy-6c9cdfa387afe7480231d751d4966317bdbd6402.tar.bz2 dummy-6c9cdfa387afe7480231d751d4966317bdbd6402.zip |
update drone
Diffstat (limited to '.drone')
-rwxr-xr-x | .drone/authenv.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.drone/authenv.sh b/.drone/authenv.sh index 34f648e..5cb1c73 100755 --- a/.drone/authenv.sh +++ b/.drone/authenv.sh @@ -10,9 +10,13 @@ set -e echo "Getting public key" gpg2 --batch --keyserver hkp://pool.sks-keyservers.net --recv-keys 4E7DA7B5A0F86992D6EB3F514601878662E33372 -# import secret signing sub key, the key is expected to be passwordless +# import secret signing sub key +# +# although the key is encrypted as a drone secret, it must also be encrypted +# with a passphrase since gpg2 does not allow exporting keys with empty passwords +# https://bugs.gnupg.org/gnupg/issue2070 echo "Importing SSB" -echo "$GPG_SSB" | gpg2 --batch --import +echo "$GPG_SSB" | gpg2 --batch --passphrase=0000000000 --import # prepare gpg settings for sbt echo "Setting up sbt-pgp" |