diff --git a/signing/sign.sh b/signing/sign.sh index fdc61dd458..3eabd2dbd9 100755 --- a/signing/sign.sh +++ b/signing/sign.sh @@ -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"