Commit ddd7d6f4 authored by David Zeuthen's avatar David Zeuthen
Browse files

avbtool: verify_image: Use openssl command instead of PyCrypto.

The build servers are now running 'avbtool verify_image' for
validation purposes (yay!) but currently this requires PyCrypto to be
installed. We can avoid this dependency by shelling out to the
openssl(1) command, just like we do for signing.

Existing unit tests (AvbToolTest.VerifyImage*) covers both positive
and negative cases so this change is pretty safe.

Bug: 119624011
Test: Unit tests pass.
Change-Id: Ie34f4c7609423ec6b8937dcc75c5f1de66dd5f3d
parent 4535428f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment