Skip to content
Open
8 changes: 8 additions & 0 deletions .github/workflows/hashes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ jobs:
grep monero- downloads/hashes.txt | sha256sum -c
- name: Verify downloads.yml hashes
run: |
mkdir verify_redirects
yq -r '.[] | .[0].downloads[] | "\(.link)|\(.hash)"' _data/downloads.yml | grep -v github |
while read line; do
[ -z "$line" ] && continue
Expand Down Expand Up @@ -151,6 +152,13 @@ jobs:
esac
filename=$(awk "/${filename}/ {print \$2}" downloads/hashes.txt)
echo "$hash $filename" | sha256sum -c
curl -sLo ./verify_redirects/$filename $url
actual_hash=$(sha256sum verify_redirects/$filename | awk '{print $1}')
if [ "$actual_hash" != "$hash" ]; then
echo "::warning ::Redirect hash mismatch %0A url: $url %0A filename: $filename %0A expected hash: $hash %0A hash: $actual_hash"
else
echo "$url OK"
fi
done
- name: Validate source integrity
run: |
Expand Down
2 changes: 1 addition & 1 deletion community/workgroups/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ meta_descr: meta_descr.workgroups
<p>{% t team.web_start %}</p>
<h4>{% t team.contacts %}</h4>
<ul class="logo">
<li>{% t team.chat %} <code>#monero-site</code> <a class="chats-img" href="irc://irc.libera.chat/#monero-site"><img class="libera" src="/img/libera.svg" title="libera" alt="libera logo"></a> <a class="chats-img" href="https://matrix.to/#/#monero-site:monero.social?via=matrix.org"><img class="matrix" src="/img/matrix-logo.svg" title="Matrix" alt="Matrix logo"></a></li>
<li>{% t team.chat %} <code>#monero-site</code> <a class="chats-img" href="irc://irc.libera.chat/#monero-site"><img class="libera" src="/img/libera.svg" title="libera" alt="libera logo"></a> <a class="chats-img" href="https://matrix.to/#/%23monero-site:monero.social?via=matrix.org"><img class="matrix" src="/img/matrix-logo.svg" title="Matrix" alt="Matrix logo"></a></li>
</ul>
<div class="row center-xs icons">
<a class="ext-noicon" href="https://github.com/monero-project/monero-site" target="_blank" rel="noreferrer, noopener" aria-label="GitHub logo"><div class="col social-icon github"></div></a>
Expand Down
9 changes: 9 additions & 0 deletions downloads/hashes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,12 @@ tZid955OAmtVzMjNO0KPiGEea2t/a8f3lSir2Irdz/LwIv8RID5/VeyafnUoOvGl
kv15IYnJAQ7vjlskoE/Tzaym/LSaILOHzU5CskI/HjG+7P50mo4=
=6gw4
-----END PGP SIGNATURE-----