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

Simple ISO verification hashing done on the client #3189

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RMcNeely
Copy link
Contributor

@RMcNeely RMcNeely commented Mar 1, 2023

Fixes #3179

Initial pass at providing a client-side way to verify the downloaded ISO file. Needs a lot more love but posting as a POC so someone with an x86 computer can validate.

Changes Summary

  • Adds a page to verify the checksum of the download

This pull request is a draft that needs UI review

@4jNsY6fCVqZv
Copy link

@RMcNeely I am curious. Could you imagine showing a visual glimpse of the actual state of your POC?

@RMcNeely
Copy link
Contributor Author

RMcNeely commented Mar 8, 2023

I can add something to show progress but I'm not sure that the way it is written I can easily add a progress bar given that the APIs are async. I would need to rewrite the file read operation to use chunks but to my knowledge, there's no way to do chunking on the hash creation so at best you would have a progress bar for only one part of the workflow.

I think it would be simpler to add a message that changes with the different steps of the verification process. Something like:

  1. Reading ISO file
  2. Creating Hash
  3. Other? Stringifiying the hash and comparing it to an expected value would both be very quick operations. I'm not sure thats worth displaying something for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow verification of the OS download via the website itself
2 participants