-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
rclone selfupdate broken in v1.64.0 and v1.64.1 #7373
Comments
I'm glad I did a Google search to find out why this broke and I was so confused as to why I was getting the hashsum error. |
This was caused by a change to the upstream library ProtonMail/go-crypto checking the flags on the keys more strictly. However the signing key for rclone is very old and does not have those flags. Adding those flags using `gpg --edit-key` and then the `change-usage` subcommand to remove, save, quite then re-add, save quit the signing capabilities caused the key to work. This also adds tests for the verification and adds the selfupdate tests into the integration test harness as they had been disabled on CI because they rely on external sources and are sometimes unreliable. Fixes #7373
I'll release this fix in v1.64.2 tomorrow. Unfortunately I can't fix v1.64.0 and v1.64.1 so if you've got one of those |
Understandable. I'll just manually update. |
This was caused by a change to the upstream library ProtonMail/go-crypto checking the flags on the keys more strictly. However the signing key for rclone is very old and does not have those flags. Adding those flags using `gpg --edit-key` and then the `change-usage` subcommand to remove, save, quite then re-add, save quit the signing capabilities caused the key to work. This also adds tests for the verification and adds the selfupdate tests into the integration test harness as they had been disabled on CI because they rely on external sources and are sometimes unreliable. Fixes #7373
This is caused by the upgrade of the "github.com/ProtonMail/go-crypto/openpgp" library in 014acc9 by @henrybear327 . Which is in turn caused by this commit ProtonMail/go-crypto@5503f24
I have reported an upstream issue about this here ProtonMail/go-crypto#187
Options to fix are
x/crypto/openpgp
Note that you can test selfupdate without updating rclone like this
rclone selfupdate --version v1.63.1 -vv --output /tmp/z
.Note also that this wasn't picked up by the integration tests and it definitely should have been so that needs investigating.
The text was updated successfully, but these errors were encountered: