-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store binary checksums alongside with files being released #811
Comments
The old release are not removed from the website, but they are not available through any link on downloads.getmonero.org. |
@el00ruobuob Old release files referenced to the
|
Note that you can check the git history of |
Yeap. That is exactly what I am doing for instance to verify hashes of recent releases set -exu; \
xmrArch="monero-linux-x64-v${XMR_VERSION}.tar.bz2"; \
curl -SLO https://downloads.getmonero.org/cli/$xmrArch; \
# scan canonical downloads/hashes.txt for latest signed checksum
curl -sSL "https://github.com/monero-project/monero-site/commits/master/downloads/hashes.txt" | \
sed -nE 's;^.*href="/monero-project/monero-site/commit/([a-f0-9]{40})#diff-.*$;\1;p' | \
while read _COMMIT; do \
hashes=$(curl -sS "https://raw.githubusercontent.com/monero-project/monero-site/$_COMMIT/downloads/hashes.txt"); \
if echo "$hashes" | grep -qE "^($xmrArch,\s+[a-f0-9]{64}|[a-f0-9]{64}\s+\*?$xmrArch)$"; then \
echo "$hashes" > hashes.txt && break; \
fi; \
done; \
gpg --no-tty --batch --verify hashes.txt; \
test "$(grep "$xmrArch" hashes.txt | grep -oE "[a-f0-9]{64}")" = "$(sha256sum -b $xmrArch | cut -d" " -f1)"; \
tar --transform 's:.*/::g' -xaf *.tar.bz2 -C /usr/local/bin; \ This ugly workaround could be reduced significantly if signed |
@KunNw0n what about we add a second file My concern with your proposal of one |
Totally fine as long as it has actual PGP signature (means it should be re-signed every time after update).
Having single version tagged file per release version (i.e. |
I'm fine with this. (And indeed, as long as it does not change anything to the current simple enough workflow for most users and does not add any confusion to what they can read or do, it's ok). |
Ok for me too. |
Indeed, it is the solution I was expecting to see. |
ping myself @binaryFate discussed on IRC again and todo |
downloads.getmonero.org
holds historical releases for some reasons, but canonical PGP-singed checksumshttps://getmonero.org/downloads/hashes.txt
are for the last one release (tough it mentioned on every release note on github for all versions the same).If previous releases are need to be available they must be provided with signed hashes files for every single version.
It would be convenient to have them at the same resource as a binaries are.
The text was updated successfully, but these errors were encountered: