1
0
Fork 0
mirror of https://github.com/imjasonh/urls synced 2026-07-18 06:58:38 +00:00

reproducibility fix didn't fix

This commit is contained in:
Jason Hall 2023-01-26 11:56:33 -05:00
parent f46094e3ad
commit 216884e292
Failed to extract signature

View file

@ -10,10 +10,4 @@ while read l; do
echo $fn
mkdir -p $(dirname $fn)
curl -s $l | jq > $fn
if [ "$(jq 'has("keys")' $fn)" == "true" ]; then
jq -S -s 'sort_by(.keys[].kid)' $fn > ${TMPDIR}/out && mv ${TMPDIR}/out $fn
fi
if grep -q "BEGIN CERTIFICATE" $fn; then
jq -S '.' $fn > ${TMPDIR}/out && mv ${TMPDIR}/out $fn
fi
done < urls.txt