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:
parent
c0b75edfb7
commit
de1f3555b1
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user