Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/scripts/conformance-client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,20 @@
import shutil
import sys

from securesystemslib.signer import KEY_FOR_TYPE_AND_SCHEME, SSlibKey

from tuf.ngclient import Updater

# ML-DSA is not in securesystemslib default verifiers yet in v1.5.0:
# enable it in the conformance client
KEY_FOR_TYPE_AND_SCHEME.update(
{
("ml-dsa", "ml-dsa-44/1"): SSlibKey,
("ml-dsa", "ml-dsa-65/1"): SSlibKey,
("ml-dsa", "ml-dsa-87/1"): SSlibKey,
}
)


def init(metadata_dir: str, trusted_root: str) -> None:
"""Initialize local trusted metadata"""
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
persist-credentials: false

- name: Run test suite
uses: theupdateframework/tuf-conformance@500c525c9ce287a472fd334fe8d885cace667d32 # v2.4.0
uses: theupdateframework/tuf-conformance@1bc18916ee35f753b6eb8ee19dabb98449ca7326 # v2.5.0
with:
entrypoint: ".github/scripts/conformance-client.py"