diff options
author | Alex Buynytskyy <alexbuy@google.com> | 2020-03-13 13:31:12 -0700 |
---|---|---|
committer | Alex Buynytskyy <alexbuy@google.com> | 2020-03-13 15:13:25 -0700 |
commit | f5e605a00c6be674cc8193bf5fc1a0912c33c8f3 (patch) | |
tree | 13a384afa00ab603d9da7aa46638570043284550 /services/incremental/IncrementalService.cpp | |
parent | 5bb02f0890ea35af556cad2fde76a620f7f90eb9 (diff) |
Updated v4 signature processing.
Passing to libincfs.so.
Obtaining and verifying, including v3 digest check.
go/apk-v4-signature-format
Test: atest PackageManagerShellCommandTest
Bug: b/151241461
Change-Id: Id61f5716b9f9b55d6ab1ebca5a7ecb1c6e54570a
Diffstat (limited to 'services/incremental/IncrementalService.cpp')
-rw-r--r-- | services/incremental/IncrementalService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/incremental/IncrementalService.cpp b/services/incremental/IncrementalService.cpp index cccd01339177..727593664895 100644 --- a/services/incremental/IncrementalService.cpp +++ b/services/incremental/IncrementalService.cpp @@ -1155,7 +1155,7 @@ bool IncrementalService::configureNativeBinaries(StorageId storage, std::string_ // Create new lib file without signature info incfs::NewFileParams libFileParams{}; libFileParams.size = uncompressedLen; - libFileParams.verification.hashAlgorithm = INCFS_HASH_NONE; + libFileParams.signature = {}; // Metadata of the new lib file is its relative path IncFsSpan libFileMetadata; libFileMetadata.data = targetLibPath.c_str(); |