Merge pull request #848 from ajeddeloh/fix-sigs

signing/sign.sh: fix armoring
This commit is contained in:
Andrew Jeddeloh 2018-10-29 10:53:08 -07:00 committed by GitHub
commit 7fcdc14536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,10 @@ fero-client \
--secret-key coreos-app-signing-key \
${torcx_signature_arg}
gpg2 --enarmor \
--output "${DATA_DIR}/torcx_manifest.json.asc" \
"${DATA_DIR}/torcx_manifest.json.sig-fero"
--output - \
"${DATA_DIR}/torcx_manifest.json.sig-fero" \
| sed 's/ARMORED FILE/SIGNATURE/' \
> "${DATA_DIR}/torcx_manifest.json.asc"
echo "=== Torcx manifest signed successfully. ==="
rm -f "${DATA_DIR}/torcx_manifest.json.sig-fero"