Skip to content

trustee-cli cannot be built without verifier dependencies #1160

@mythi

Description

@mythi

Describe the bug

9abce39 dropped the verifier dependencies (TPM and DCAP libs) based on checking the code that these are not needed. The PR CI did not catch there are issues. However, a post-merge action shows issues and currently the image cannot be built.

Two problems:

  • rework trustee-cli to not depend on kbs::attestation::config::AttestationServiceConfig::CoCoASBuiltIn; for config paths because this expects KBS is built using coco_as_builtin feature which pulls in verifier dependencies.
  • add trustee-cli image to PR checks

How to reproduce

$ podman build . -f tools/trustee-cli/Dockerfile

CoCo version information

HEAD

What TEE are you seeing the problem on

None

Failing command and relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions