mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
Merge pull request #848 from ajeddeloh/fix-sigs
signing/sign.sh: fix armoring
This commit is contained in:
commit
7fcdc14536
@ -56,7 +56,10 @@ fero-client \
|
|||||||
--secret-key coreos-app-signing-key \
|
--secret-key coreos-app-signing-key \
|
||||||
${torcx_signature_arg}
|
${torcx_signature_arg}
|
||||||
gpg2 --enarmor \
|
gpg2 --enarmor \
|
||||||
--output "${DATA_DIR}/torcx_manifest.json.asc" \
|
--output - \
|
||||||
"${DATA_DIR}/torcx_manifest.json.sig-fero"
|
"${DATA_DIR}/torcx_manifest.json.sig-fero" \
|
||||||
|
| sed 's/ARMORED FILE/SIGNATURE/' \
|
||||||
|
> "${DATA_DIR}/torcx_manifest.json.asc"
|
||||||
|
|
||||||
echo "=== Torcx manifest signed successfully. ==="
|
echo "=== Torcx manifest signed successfully. ==="
|
||||||
rm -f "${DATA_DIR}/torcx_manifest.json.sig-fero"
|
rm -f "${DATA_DIR}/torcx_manifest.json.sig-fero"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user