Commit graph

14 commits

Author SHA1 Message Date
Ludovic Barman
91907ce6b1 Update fsverity+odsign protos to protobuf3.
Test: manual atest
Bug: 286984317
Change-Id: I9bcc1ad858b9076c1a08e9df06e15a599c28f92c
2023-06-28 08:05:10 +00:00
Victor Hsieh
506de61fa1 Consolidate fs-verity wrapper in libfsverity_rs
Bug: 272587415
Test: m libfsverity_rs
Change-Id: I9370d4cf66b34b6b86fda60f22ea096ce038da07
2023-03-15 13:34:47 -07:00
Victor Hsieh
101745a955 Accept empty file list in fsverity_manifest_generator
By accepting empty file list, it allows the build rule to generate the
build_manifest.pb unconditionally. Consequently, the consuming code in
composd won't need to handle the empty case (which requires parsing the
zip entry if it's done on the host side).

Bug: 256793394
Test: m
Change-Id: I69cdfb46bb0d54a13bd72a9755b53a594e044f06
2022-11-01 11:07:48 -07:00
Victor Hsieh
3dcd4b8d7b Merge "Add TEST_MAPPING for system/security/fsverity" 2022-09-13 15:42:22 +00:00
Treehugger Robot
37b159e5f6 Merge "fsverity_manifest_generator: remove debug message from stdout" 2022-09-13 06:50:52 +00:00
Victor Hsieh
1ca9e765e9 fsverity_manifest_generator: remove debug message from stdout
Bug: N/A
Test: no longer seeing them in the build
Change-Id: Iff0ca6dc600dc560b1ac9598258f7f3fb6b8eaaf
2022-09-12 16:15:57 -07:00
Victor Hsieh
a23337f05e Add TEST_MAPPING for system/security/fsverity
Since the fsverity build manifest is used in CompOS, run its test in
presubmit here.

Bug: N/A
Test: TH
Change-Id: If8f86774635dc7e143035b5b4b49f88c01f22ca7
2022-09-12 14:04:33 -07:00
Cole Faust
2f8b490ecd Remove py2 usages
Bug: 203436762
Test: m nothing
Change-Id: I3cd85748ada8e7c7a14aa415ac8ac82a71dc3e46
2022-09-12 12:41:59 -07:00
Andrew Scull
6be4346647 Add a tool to generate manifest files
This logic was previously part of the BuildManifest.apk generation but
it's split out so that it can be used in other contexts such as the
authfs test which consume the manifest.

Bug: 237384936
Test: atest AuthFsHostTest
Change-Id: I93ee4c03edc9b43c4dfbf159f70913c075b82766
2022-07-04 17:56:58 +00:00
Inseob Kim
7667122086 Add cc static library for fsverity digests
Bug: 203483081
Test: build
Change-Id: I68722ff6942d98ea8a980ff217f59edacb3117f4
2022-01-20 13:40:51 +09:00
Victor Hsieh
d3309f54f6 Generate Rust binding for fsverity_digests.proto
Bug: 206869687
Test: Can use it from authfs
Change-Id: I1bc78dcbf89c210e4648bebc68bd6631351d29cd
2022-01-05 15:35:45 -08:00
Jeff Vander Stoep
fae9b8081e Add OWNERS for fsverity files
Test: TH
Change-Id: Ic5c283250cb7c3ec30400847e27c06ffbc654056
2021-11-23 17:12:28 +00:00
Bob Badour
7b1df9e141 [LSC] Add LOCAL_LICENSE_KINDS to system/security
Added SPDX-license-identifier-Apache-2.0 to:
  fsverity/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: I30207a7b9fd396972fc56c7e96124ee88e080c69
2021-11-18 12:53:28 -08:00
Inseob Kim
eb92a4907f Add fsverity_digests proto and metadata for APK
fsverity_digests will be used as a mapping file from files to their
fsverity digest, under system/etc/security/fsverity/BuildManifest.apk

Bug: 193113311
Test: build with PRODUCT_SYSTEM_FSVERITY_GENERATE_METADATA := true
Change-Id: I35da5e3bdbfc82e7baf5dc1c3f8ddf5fed951373
2021-11-11 08:30:56 +00:00