Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Commit

Permalink
utils: add h on asset-transparency-lookup-verify
Browse files Browse the repository at this point in the history
add the h query param to protect against future rate limiting
  • Loading branch information
philips committed Aug 19, 2020
1 parent 62d40b8 commit e59a108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/asset-transparency-lookup-verify
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ while read -r line; do
echo "read end of note without matching digest"
break
fi
done < <(curl -s "${ATL_URL}${slug}")
done < <(curl -s -G -d "h=${digest}" "${ATL_URL}${slug}")

if [ $verified -eq 0 ]; then
echo failed verification
Expand Down

0 comments on commit e59a108

Please sign in to comment.