-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Verifying downloaded Circle CI artifacts #113
Comments
#107 is notes made to eventually create an additional entry in the wiki, rendered on https://osresearch.net I understand from the above that your goal would be to distrust CircleCI? #107 is to make sure that what was flashed corresponds still to what was downloaded. Until reproducibility issues are resolved, CircleCI hashes.txt could be used to verify Heads internally. Or as detailed there, to take a backup and extract to verify against CircleCI/built ROM and its generated hashes.txt at build time. If you want to clarify things under #107, please quote parts there to I can modify directly. Those are notes and will not be found easily by anybody.
What you build and what you download from CircleCI won't have the same final hashes for ROMs as of today. This is documented in reproducibility issues over Heads (not heads-wiki). Hope this is clearer. To verify CircleCI downloaded artifacts, one can simply verify hashes of the ROMs downloaded against the ones under hashes.text If the goal is to distrust CircleCi, as of today the only alternative is to build yourself, reproducing what CircleCI does and is explained under Building instructions, until reproducibility issues are resolved. Most of the compiled binaries match across local builds and CircleCI, but busybox if my memory is good. Since busybox is packed under tools.cpio and tools.cpio is packed under initrd.cpio.xz: busyboz, tools.cpio, initrd.cpio.xz and ROM images will have different hashes. Please tag me if closing this issue seems an error to you. From the title of this issue, the documentation already explains how to do this through Downloading section of the wiki |
hi @tlaurion thanks for explanation, thanks and regards, |
hi @tlaurion ,
Below are some steps to verify downloaded ROM from Circle CI:
For step 2 & 3 can refer to #107
Please kindly add on or modify the steps above, for a better verification.
Thanks and Regards,
The text was updated successfully, but these errors were encountered: