-
Notifications
You must be signed in to change notification settings - Fork 5
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
go-sqlite3 checksum mismatch when running ./update-deps.sh #2
Comments
The same happens when building in the container
|
Perhaps the library in question had its tag changed to another commit between the time the go.sum in this repo was created and now. If so, it's a valid warning. But I'd just ignore it. Delete the go.sum and try again. |
yeah, my point is, should I just commit the updated go.sum? as right now, you can't just checkout the project, build and run |
If that's what happened, it's incredibly unfortunate. I sometimes do that, when something in the artifact attestation fails in the release process. I wanna have have something like this that attests that the Wasm files at tag But for that to happen I need to push a tag to GitHub, which you can fetch at the exactly wrong time. But it's usually a couple of minutes for the attestation process to complete, and it usually succeeds. |
Yeah, if that's what happened it's just bad luck due to the small window for it to occur. And I don't think it's a big deal, because there's enough re-tagging in the wild that this problem is understandable and Google-able. But there's also a chance that the issue is unrelated. I've seen, at least once, issues with our corporate proxy where Go module checksums end up not matching compared to off the VPN. I never figured it out exactly, but I think it happens when the module is pulled with git instead of a tarball download and usually there are git submodules involved. All that said, if anyone is using this project, please feel free to fix the checksum and open a PR. |
This should be fixed with 6b6c1b0 |
still happening unfortunately: verifying github.com/ncruces/go-sqlite3@v0.21.3: checksum mismatch SECURITY ERROR For more information, see 'go help module-auth'. |
It shouldn't. Please see ncruces/go-sqlite3#209 for the actual cause and fix. PS: you may need to update to |
Updated the deps in main. @runcom What's the output of |
Note that @runcom's hashes match the bug in my repo for version
Sorry. It didn't occur to me to update this bug when that one was opened/closed. |
Nature of the bug
Running
./update-deps.sh
on a freshly clone errors out with checksum mismatch when verifying go-sqlite3Steps taken to find bug
just run
./update-deps.sh
the "fix" for me is to remove
go.sum
and re-run again - only to have a different hash ingo.sum
thoughSteps to ensure bug is gone
no error
Optional: Reproduction
Just run
./update-deps.sh
, my system spec are as follow:The text was updated successfully, but these errors were encountered: