summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Billy Lau <billylau@google.com> 2022-11-01 16:17:00 -0500
committer Billy Lau <billylau@google.com> 2022-11-01 20:17:27 -0500
commitbd40fbdc1ecb2216164a705665fcc8872ca73965 (patch)
treed89bb9e74cfed8e32a5d2c71c8af5ed8914335af /libs/androidfw/AssetsProvider.cpp
parent23ff6170980b209243514f29f9af86aafda43118 (diff)
Improve module and apex printout
BinaryTransparencyService: Make use of APEX digest as a binary measurement, which measures only the changes to the content of the package, excluding the signing block. Additionally, this information is surfaced to the output of existing `get apex_info` and `get module_info` commands. The format of the output is also modified from previous iteration to make the overall style and presentation more consistent for the user. PackageUtils: Currently cryptographic digests that are hex encoded and encoded to string are encoded in uppercase - this is not consistent with how measurements for other binaries are stored and processed. Thus, this change defaults the encoding for SHA-256 digest for large files to be hex encoded and string encoded to lowercase. Bug: 245941527 Test: manual. Change-Id: I5b332214b516a71bded8dcc50883430608cde357
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions