Skip to content
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

Allow downloading module_firmware_index.json and signature in a single tar.bz2 archive #147

Open
umbynos opened this issue Sep 12, 2022 · 0 comments
Assignees
Labels
topic: code Related to content of the project itself topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project

Comments

@umbynos
Copy link
Contributor

umbynos commented Sep 12, 2022

Similar to arduino/arduino-cli#1734 but for fwuploader and module_firmware_index.json
Originally reported by @kittaakos:

updatableBoards failed with error: Error executing "/Users/a.kitta/dev/git/arduino-ide/arduino-ide-extension/build/arduino-fwuploader" firmware list --format json: openpgp: invalid signature: hash tag doesn't match Error: Error executing "/Users/a.kitta/dev/git/arduino-ide/arduino-ide-extension/build/arduino-fwuploader" firmware list --format json: openpgp: invalid signature: hash tag doesn't match

@cmaglie theory:

the hypothesis is that the cloudflare cache is not aligned for some millisecond and if you download the signature in that instant the signature do not match

probably the most reliable solution is to do what we did with the package_index -> create an tar.bz2 archive with both signature and index, so they are downloaded togherter

@umbynos umbynos added topic: code Related to content of the project itself topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project labels Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants