Require SLSA pre-validation for macos too

This commit is contained in:
David Dworken 2023-11-08 18:19:02 -08:00
parent a93002f045
commit 79a61c1b1d
No known key found for this signature in database

View File

@ -35,8 +35,6 @@ def validate_slsa(hishtory_binary: str) -> None:
assert "Verified build using builder" in out, out assert "Verified build using builder" in out, out
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
print(f"subprocess.CalledProcessError: stdout={repr(e.stdout)}") print(f"subprocess.CalledProcessError: stdout={repr(e.stdout)}")
if "darwin" in filename:
continue # TODO: Enable SLSA validation for Mac binaries
raise e raise e
def validate_macos_signature(filename: str) -> None: def validate_macos_signature(filename: str) -> None: