new encripted key file
This commit is contained in:
parent
4700278dea
commit
4371f5d3b1
Binary file not shown.
|
@ -38,12 +38,12 @@ function helpAndExit {
|
||||||
|
|
||||||
# decripting gpg keys and importing them (needed to sign artifacts)
|
# decripting gpg keys and importing them (needed to sign artifacts)
|
||||||
# Global:
|
# Global:
|
||||||
# $encrypted_fbbd56f3fa0c_key: decription key
|
# $encrypted_1d44dcf98611_key: decription key
|
||||||
# $encrypted_fbbd56f3fa0c_iv: initialisation vector
|
# $encrypted_1d44dcf98611_iv: initialisation vector
|
||||||
# Arguments:
|
# Arguments:
|
||||||
# $1: basedir
|
# $1: basedir
|
||||||
function decodeAndImportKeys {
|
function decodeAndImportKeys {
|
||||||
$debug openssl aes-256-cbc -K "$encrypted_fbbd56f3fa0c_key" -iv "$encrypted_fbbd56f3fa0c_iv" -in "$1/codesigning.asc.enc" -out "$1/codesigning.asc" -d
|
$debug openssl aes-256-cbc -K "$encrypted_1d44dcf98611_key" -iv "$encrypted_1d44dcf98611_iv" -in "$1/codesigning.asc.enc" -out "$1/codesigning.asc" -d
|
||||||
$debug gpg --import "$1/codesigning.asc"
|
$debug gpg --import "$1/codesigning.asc"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ function main {
|
||||||
helpAndExit 1
|
helpAndExit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$debug" && (-z "$encrypted_fbbd56f3fa0c_key" || -z "$encrypted_fbbd56f3fa0c_iv") ]]; then
|
if [[ -z "$debug" && (-z "$encrypted_1d44dcf98611_key" || -z "$encrypted_1d44dcf98611_iv") ]]; then
|
||||||
echo "you are not travis or travis does not have the correct encryption key and iv" >&2
|
echo "you are not travis or travis does not have the correct encryption key and iv" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue