please icon indicating copy to clipboard operation
please copied to clipboard

Mixup between expected and actual checksum

Open tm-jdelapuente opened this issue 1 year ago • 2 comments

After upgrading Please to 17.10.1 in .plzconfig with the hash of 17.9.0 (87724be4995cc0385b18eea05feb23c8672ab9817bd484401f2d1053e1117325) I ran and got

$ plz update --force
17:17:09.161 CRITICAL: Failed to download Please: Invalid checksum of downloaded file, was f5436a2f265f7cf905f384e74db9453bc9d012078273136c8c1452bff2ddb85e, expected 87724be4995cc0385b18eea05feb23c8672ab9817bd484401f2d1053e1117325

Problem: the hashes are the other way around - the expected is the actual and vice versa

tm-jdelapuente avatar Aug 19 '24 16:08 tm-jdelapuente

I think the behaviour is correct - according to the config we expecting the hash to be 87724b..., but when we downloaded Please the hash we got for the download was f5436a...

You could make the message more explicit, along the lines of downloaded file had hash ..., but hash expected in .plzconfig is ...

toastwaffle avatar Aug 19 '24 16:08 toastwaffle

This issue has been automatically marked as stale because it has not had any recent activity in the past 90 days. It will be closed if no further activity occurs. If you require additional support, please reply to this message. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 00:04 stale[bot]