Commit Graph

15 Commits

Author SHA1 Message Date
Paul Keith
f0fd925e37 Update ci script for 12.1 2022-05-24 07:17:55 -07:00
Paul Keith
64fe7f9c11 cicd: Check privapp-permissions by partition 2021-11-16 12:34:30 -06:00
Paul Keith
664187a854 Fix typo in script 2021-11-16 12:15:38 -06:00
Paul Keith
128c0b29a2 Revert "Add aapt binary built from lineage-19.0 source tree"
* No longer needed with custom Docker image

This reverts commit fca6c52e8e.
2021-10-13 10:18:20 -05:00
LuK1337
ca0cff7bce Publish Dockerfile 2021-10-13 17:08:41 +02:00
LuK1337
2d5a84a23b Use splitlines() instead of split('\n') 2021-10-13 17:08:22 +02:00
LuK1337
4e86318340 Replace regexes with parse() 2021-10-13 17:08:06 +02:00
LuK1337
5e4bc3e303 Use f-strings everywhere 2021-10-13 16:52:08 +02:00
LuK1337
b433294810 Run autopep8 on verify-permissions.py 2021-10-13 16:51:19 +02:00
Paul Keith
fca6c52e8e Add aapt binary built from lineage-19.0 source tree
* Also include libc++ dependency
2021-10-13 00:59:35 -05:00
Paul Keith
66b355e013 verify-permissions: Fix permissions mask check again
* This cannot be greater than the length of the mask set,
  so don't bother allowing that case in the conditional
2021-10-12 23:15:44 -05:00
Paul Keith
a8b1bba0c8 verify-permissions: Fix checking of permission mask
* Currently this passes if the permission is either
  signature OR privileged, not both. Fix it.
2021-10-12 23:12:42 -05:00
Paul Keith
99ffe4e102 verify-permission: Fix relative paths
* Allows script to be run from outside its directory
2021-10-12 23:12:34 -05:00
Paul Keith
ac9236535a verify-permissions: Switch to regex 2021-10-12 23:12:27 -05:00
Paul Keith
76f8d40ecc Add script to verify priv-app permission allowlists
* TODO: Implement this with CI/CD
2021-10-12 22:43:07 -05:00