1
mirror of https://github.com/home-assistant/supervisor synced 2024-07-11 06:27:55 +02:00

Disable codenotary until rework of cosign (#4217)

* Disable codenotary until rework of cosign

* Skip code notary tests

---------

Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
This commit is contained in:
Pascal Vizeli 2023-03-31 11:11:29 +02:00 committed by GitHub
parent c0b75edfb7
commit de1f3555b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -43,11 +43,13 @@ def calc_checksum_path_sourcecode(folder: Path) -> str:
return dirhash(folder.as_posix(), "sha256", match=["*.py"])
# pylint: disable=unreachable
async def cas_validate(
signer: str,
checksum: str,
) -> None:
"""Validate data against CodeNotary."""
return
if (checksum, signer) in _CACHE:
return

View File

@ -13,6 +13,8 @@ from supervisor.exceptions import (
)
from supervisor.utils.codenotary import calc_checksum, cas_validate
pytest.skip("code notary has been disabled due to issues", allow_module_level=True)
@dataclass
class SubprocessResponse: