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

[hub]: 是否能在制作启动盘之前,校验下载得到之二进制的完整性? #17

Closed
Mikotwa opened this issue Mar 24, 2022 · 4 comments
Labels

Comments

@Mikotwa
Copy link

Mikotwa commented Mar 24, 2022

似乎没有看见 Suggestions 的模板,故直接使用空白模板提交了。如有不便,还请见谅。

似乎目前 Hub 在下载制作启动盘所需要的内容时,不会检验相应二进制的完整性。且用户也无法主动检验相应文件的完整性(没有特定文件的 Hash 值)

如果可以的话,作者是否可以在下载站提供相应 ISO 镜像的 Hash 值(如 SHA-1),以便于核验完整性?

@Cnotech
Copy link
Member

Cnotech commented Mar 24, 2022

目前的后端和客户端确实没有加入哈希校验这一步骤,未来重构Edgeless Hub时会考虑增加这一功能。
此issue会保持打开状态。

Edgeless_Beta_4.1.0.iso
CRC32: A006455F
MD5: 35887B073DE3FD07FA23A3602BE811EC
SHA-1: D4E74686D0B56698E0069751DF11DAF409DD78E7

@undefined-ux
Copy link

这个问题感觉可以直接用aria2的checksum参数去校验?

@Cnotech
Copy link
Member

Cnotech commented Mar 26, 2022

服务器那边需要提前计算哈希值然后提供api接口,涉及到后端改造,还挺麻烦的

@Cnotech
Copy link
Member

Cnotech commented May 4, 2022

此 issue 与 #14 部分重复,故关闭

@Cnotech Cnotech closed this as completed May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants