mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-08 01:36:29 +00: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:
parent
c0b75edfb7
commit
de1f3555b1
@ -43,11 +43,13 @@ def calc_checksum_path_sourcecode(folder: Path) -> str:
|
|||||||
return dirhash(folder.as_posix(), "sha256", match=["*.py"])
|
return dirhash(folder.as_posix(), "sha256", match=["*.py"])
|
||||||
|
|
||||||
|
|
||||||
|
# pylint: disable=unreachable
|
||||||
async def cas_validate(
|
async def cas_validate(
|
||||||
signer: str,
|
signer: str,
|
||||||
checksum: str,
|
checksum: str,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Validate data against CodeNotary."""
|
"""Validate data against CodeNotary."""
|
||||||
|
return
|
||||||
if (checksum, signer) in _CACHE:
|
if (checksum, signer) in _CACHE:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -13,6 +13,8 @@ from supervisor.exceptions import (
|
|||||||
)
|
)
|
||||||
from supervisor.utils.codenotary import calc_checksum, cas_validate
|
from supervisor.utils.codenotary import calc_checksum, cas_validate
|
||||||
|
|
||||||
|
pytest.skip("code notary has been disabled due to issues", allow_module_level=True)
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
class SubprocessResponse:
|
class SubprocessResponse:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user