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

avb: Allow computing insecure SHA1 hashes for verification #190

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

chenxiaolong
Copy link
Owner

Some partitions, like system_ext in the Pixel Experience build for avicii, use SHA1 for the dm-verity hash tree. This is technically valid, so allow the avb verify command to compute these hashes. SHA1 will still be rejected when creating AVB images.

Some partitions, like system_ext in the Pixel Experience build for
`avicii`, use SHA1 for the dm-verity hash tree. This is technically
valid, so allow the `avb verify` command to compute these hashes. SHA1
will still be rejected when creating AVB images.

Signed-off-by: Andrew Gunnerson <[email protected]>
@chenxiaolong chenxiaolong self-assigned this Oct 13, 2023
@chenxiaolong chenxiaolong merged commit e7fb400 into master Oct 13, 2023
22 checks passed
@chenxiaolong chenxiaolong deleted the sha1 branch October 13, 2023 22:03
chenxiaolong added a commit that referenced this pull request Oct 13, 2023
Signed-off-by: Andrew Gunnerson <[email protected]>
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.

1 participant