mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 18:24:45 -05:00
Meta: Only allow sha256 and sig for auth_type in ports
This commit is contained in:
parent
5911d379a6
commit
4aaf6386ae
Notes:
sideshowbarker
2024-07-18 19:06:45 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/4aaf6386ae8 Pull-request: https://github.com/SerenityOS/serenity/pull/6633
1 changed files with 5 additions and 0 deletions
|
@ -117,6 +117,11 @@ def check_package_files(ports):
|
|||
continue
|
||||
|
||||
props = get_port_properties(port)
|
||||
|
||||
if not props['auth_type'] in ('sha256', 'sig', ''):
|
||||
print(f"Ports/{port} uses invalid signature algorithm '{props['auth_type']}' for 'auth_type'")
|
||||
all_good = False
|
||||
|
||||
for prop in PORT_PROPERTIES:
|
||||
if prop == 'auth_type' and re.match('^https://github.com/SerenityOS/', props["files"]):
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue