Commit Graph

8 Commits

Author SHA1 Message Date
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
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