{"id":31091941,"url":"https://github.com/confidential-containers/trustee","last_synced_at":"2026-04-02T00:59:22.850Z","repository":{"id":37351480,"uuid":"485367944","full_name":"confidential-containers/trustee","owner":"confidential-containers","description":"Attestation and Secret Delivery Components","archived":false,"fork":false,"pushed_at":"2026-01-12T17:37:40.000Z","size":3499,"stargazers_count":130,"open_issues_count":95,"forks_count":139,"subscribers_count":18,"default_branch":"main","last_synced_at":"2026-01-12T23:04:34.769Z","etag":null,"topics":["attestation","confidential-computing","key-management"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/confidential-containers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-04-25T12:45:02.000Z","updated_at":"2026-01-12T17:37:45.000Z","dependencies_parsed_at":"2023-02-17T04:45:24.945Z","dependency_job_id":"ffb1ada2-03f8-44dd-9df9-51d3922c9d39","html_url":"https://github.com/confidential-containers/trustee","commit_stats":null,"previous_names":["confidential-containers/kbs"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/confidential-containers/trustee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confidential-containers%2Ftrustee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confidential-containers%2Ftrustee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confidential-containers%2Ftrustee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confidential-containers%2Ftrustee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/confidential-containers","download_url":"https://codeload.github.com/confidential-containers/trustee/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/confidential-containers%2Ftrustee/sbom","scorecard":{"id":663304,"data":{"date":"2025-08-21T14:13:01Z","repo":{"name":"github.com/confidential-containers/trustee","commit":"b3b88206866517f65ddf3c1a166e58c268d0f49d"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":7.3,"checks":[{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 26 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/as-docker-build.yml:17","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/as-docker-build.yml:18","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/build-as-image.yml:21","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/build-kbs-client-image.yml:21","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/build-kbs-image.yml:21","Info: jobLevel 'contents' permission set to 'read': .github/workflows/kbs-docker-build.yml:11","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/kbs-docker-build.yml:12","Info: jobLevel 'contents' permission set to 'read': .github/workflows/kbs-e2e-azure-vtpm.yml:15","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/kbs-e2e-azure-vtpm.yml:16","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/kbs-e2e-azure-vtpm.yml:35","Info: jobLevel 'contents' permission set to 'read': .github/workflows/kbs-e2e-azure-vtpm.yml:36","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/kbs-e2e-azure-vtpm.yml:47","Info: jobLevel 'contents' permission set to 'read': .github/workflows/kbs-e2e-azure-vtpm.yml:48","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/kbs-e2e-sample.yml:13","Info: jobLevel 'contents' permission set to 'read': .github/workflows/kbs-e2e-sample.yml:31","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/kbs-e2e-sample.yml:32","Info: jobLevel 'contents' permission set to 'read': .github/workflows/kbs-e2e-sample.yml:47","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/kbs-e2e-sample.yml:48","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/kbs-e2e.yml:38","Info: jobLevel 'contents' permission set to 'read': .github/workflows/push-as-image-to-ghcr.yml:14","Info: jobLevel 'contents' permission set to 'read': .github/workflows/push-kbs-client-image-to-ghcr.yml:14","Info: jobLevel 'contents' permission set to 'read': .github/workflows/push-kbs-client-to-ghcr.yml:24","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/push-kbs-client-to-ghcr.yml:25","Info: jobLevel 'contents' permission set to 'read': .github/workflows/push-kbs-image-to-ghcr.yml:14","Info: topLevel 'contents' permission set to 'read': .github/workflows/actionlint.yml:4","Info: found token with 'none' permissions: .github/workflows/as-docker-build.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/as-e2e.yml:8","Info: topLevel 'contents' permission set to 'read': .github/workflows/as-rust.yml:22","Info: topLevel 'contents' permission set to 'read': .github/workflows/build-as-image.yml:16","Info: topLevel 'contents' permission set to 'read': .github/workflows/build-kbs-client-image.yml:16","Info: topLevel 'contents' permission set to 'read': .github/workflows/build-kbs-image.yml:16","Info: found token with 'none' permissions: .github/workflows/kbs-docker-build.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/kbs-docker-e2e.yml:9","Info: topLevel 'contents' permission set to 'read': .github/workflows/kbs-e2e-azure-vtpm.yml:9","Info: topLevel 'contents' permission set to 'read': .github/workflows/kbs-e2e-sample.yml:8","Info: topLevel 'contents' permission set to 'read': .github/workflows/kbs-e2e.yml:27","Info: topLevel 'contents' permission set to 'read': .github/workflows/kbs-rust.yml:18","Info: topLevel 'contents' permission set to 'read': .github/workflows/link.yml:11","Info: found token with 'none' permissions: .github/workflows/push-as-image-to-ghcr.yml:1","Info: found token with 'none' permissions: .github/workflows/push-kbs-client-image-to-ghcr.yml:1","Info: found token with 'none' permissions: .github/workflows/push-kbs-client-to-ghcr.yml:1","Info: found token with 'none' permissions: .github/workflows/push-kbs-image-to-ghcr.yml:1","Info: found token with 'none' permissions: .github/workflows/scorecard.yaml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: containerImage not pinned by hash: attestation-service/docker/as-grpc/Dockerfile:5","Warn: containerImage not pinned by hash: attestation-service/docker/as-grpc/Dockerfile:33: pin your Docker image by updating ubuntu:22.04 to ubuntu:22.04@sha256:1aa979d85661c488ce030ac292876cf6ed04535d3a237e49f61542d8e5de5ae0","Warn: containerImage not pinned by hash: attestation-service/docker/as-restful/Dockerfile:5","Warn: containerImage not pinned by hash: attestation-service/docker/as-restful/Dockerfile:32: pin your Docker image by updating ubuntu:22.04 to ubuntu:22.04@sha256:1aa979d85661c488ce030ac292876cf6ed04535d3a237e49f61542d8e5de5ae0","Warn: containerImage not pinned by hash: kbs/docker/Dockerfile:1","Warn: containerImage not pinned by hash: kbs/docker/Dockerfile:44: pin your Docker image by updating ubuntu:22.04 to ubuntu:22.04@sha256:1aa979d85661c488ce030ac292876cf6ed04535d3a237e49f61542d8e5de5ae0","Warn: containerImage not pinned by hash: kbs/docker/coco-as-grpc/Dockerfile:1","Warn: containerImage not pinned by hash: kbs/docker/coco-as-grpc/Dockerfile:33: pin your Docker image by updating ubuntu:22.04 to ubuntu:22.04@sha256:1aa979d85661c488ce030ac292876cf6ed04535d3a237e49f61542d8e5de5ae0","Warn: containerImage not pinned by hash: kbs/docker/intel-trust-authority/Dockerfile:1","Warn: containerImage not pinned by hash: kbs/docker/intel-trust-authority/Dockerfile:13: pin your Docker image by updating ubuntu:22.04 to ubuntu:22.04@sha256:1aa979d85661c488ce030ac292876cf6ed04535d3a237e49f61542d8e5de5ae0","Warn: containerImage not pinned by hash: kbs/docker/kbs-client-image/Dockerfile:1","Warn: containerImage not pinned by hash: kbs/docker/kbs-client-image/Dockerfile:12: pin your Docker image by updating ubuntu:22.04 to ubuntu:22.04@sha256:1aa979d85661c488ce030ac292876cf6ed04535d3a237e49f61542d8e5de5ae0","Warn: containerImage not pinned by hash: kbs/docker/kbs-client/Dockerfile:1","Warn: containerImage not pinned by hash: kbs/docker/rhel-ubi/Dockerfile:2","Warn: containerImage not pinned by hash: kbs/docker/rhel-ubi/Dockerfile:26: pin your Docker image by updating registry.access.redhat.com/ubi9 to registry.access.redhat.com/ubi9@sha256:b68c21b2dd3e72abcf2f8dcfc77580e4030564d1243bfcb7cd64ccc5aa3e0a25","Warn: containerImage not pinned by hash: rvps/docker/Dockerfile:5","Warn: containerImage not pinned by hash: rvps/docker/Dockerfile:25: pin your Docker image by updating debian to debian@sha256:6d87375016340817ac2391e670971725a9981cfc24e221c47734681ed0f6c0f5","Warn: goCommand not pinned by hash: .github/workflows/as-e2e.yml:65","Info:  25 out of  25 GitHub-owned GitHubAction dependencies pinned","Info:  22 out of  22 third-party GitHubAction dependencies pinned","Info:   0 out of   1 goCommand dependencies pinned","Info:   0 out of  17 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/push-as-image-to-ghcr.yml:21"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":2,"reason":"8 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2024-0388","Warn: Project is vulnerable to: GHSA-m4ch-rfv5-x5g3","Warn: Project is vulnerable to: RUSTSEC-2024-0384","Warn: Project is vulnerable to: RUSTSEC-2024-0013 / GHSA-22q8-ghmq-63vf","Warn: Project is vulnerable to: RUSTSEC-2024-0436","Warn: Project is vulnerable to: GHSA-2gh3-rmm4-6rq5","Warn: Project is vulnerable to: RUSTSEC-2024-0437","Warn: Project is vulnerable to: RUSTSEC-2023-0071"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":4,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/confidential-containers/.github/SECURITY.md:1","Warn: no linked content found","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/confidential-containers/.github/SECURITY.md:1","Info: Found text in security policy: github.com/confidential-containers/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"CI-Tests","score":10,"reason":"17 out of 17 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}},{"name":"Contributors","score":10,"reason":"project has 39 contributing companies or organizations","details":["Info: found contributions from: Azure, IBM, TrustedComputingGroup, alibaba cloud (aliyun) alibaba group, cloud, cloud-hypervisor, confidential-containers, connectivity, containers, core-wg, deislabs, dgplug, edgelesssys, hygon company, ibm, ibm research, ibm t.j. watson research center, inclavare-containers, intel, jd.com, kata-containers, kedgeproject, kinvolk, kubeedge, kubernetes, kubernetes-sigs, linaro, metallb, microsoft, nix-community, nix-community-bochum, northflank, red hat, rivos, sigstore, sylabs, transylvaniasprint, veraison, virtee"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}}]},"last_synced_at":"2025-08-21T16:56:06.775Z","repository_id":37351480,"created_at":"2025-08-21T16:56:06.775Z","updated_at":"2025-08-21T16:56:06.775Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28480032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["attestation","confidential-computing","key-management"],"created_at":"2025-09-16T18:03:09.966Z","updated_at":"2026-01-16T16:39:13.114Z","avatar_url":"https://github.com/confidential-containers.png","language":"Rust","funding_links":[],"categories":["Rust","Attestation"],"sub_categories":[],"readme":"# Trusted Components for Attestation and Secret Management\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fconfidential-containers%2Fkbs.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fconfidential-containers%2Fkbs?ref=badge_shield)\n[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/confidential-containers/trustee/badge)](https://scorecard.dev/viewer/?uri=github.com/confidential-containers/trustee)\n\nThis repository contains tools and components for attesting confidential guests and providing secrets to them.\nCollectively, these components are known as Trustee.\nTrustee typically operates on behalf of the guest owner and interact remotely with\n[guest components](https://github.com/confidential-containers/guest-components).\n\nTrustee was developed for the Confidential Containers project, but can be used with a wide variety\nof applications and hardware platforms.\n\n## Components\n\n- [Key Broker Service](kbs)\nThe KBS is a server that facilitates remote attestation and secret delivery.\nIts role is similar to that of the [Relying Party](https://www.ietf.org/archive/id/draft-ietf-rats-architecture-22.html#name-relying-party)\nin the RATS model.\n\n- [Attestation Service](attestation-service)\nThe AS verifies TEE evidence.\nIn the RATS model this is a [Verifier](https://www.ietf.org/archive/id/draft-ietf-rats-architecture-22.html#name-verifier)\n\n- [Reference Value Provider Service](rvps)\nThe RVPS manages reference values used to verify TEE evidence.\nThis is related to the discussion in [section 7.5](https://www.ietf.org/archive/id/draft-ietf-rats-architecture-22.html#name-endorser-reference-value-pr)\nof the RATS document.\n\n- [KBS Client Tool](tools/kbs-client/)\nThis is a simple tool which can be used to test or configure the KBS and AS.\n\nFor further information, see documentation of individual components.\n\n## Architecture\n\nTrustee is flexible and can be deployed in several different configurations.\nThis figure shows one common way to deploy these components in conjunction with certain guest components.\n\n```mermaid\nflowchart LR\n    AA -- attests guest ----\u003e KBS\n    CDH -- requests resource --\u003e KBS\n    subgraph Guest\n        CDH \u003c.-\u003e AA\n    end\n    subgraph Trustee\n        AS -- verifies evidence --\u003e KBS\n        RVPS -- provides reference values--\u003e AS\n    end\n    client-tool -- configures --\u003e KBS\n```\n\n## Development\n\nPlease go [here](DEVELOPMENT.md).\n\n## Deployment\n\nThere are two main ways to deploy Trustee.\n\n### Docker Compose\n\nOne simple way to get started with Trustee is with Docker compose, which can be used\nto quickly setup a cluster matching the diagram above.\n\nPlease refer to the [cluster setup guide](kbs/docs/cluster.md).\n\nThis cluster could be run inside a VM or as part of a managed service.\n\n### Kubernetes\n\nThere are two supported ways of deploying Trustee on Kubernetes.\nOne is via the [KBS Operator](https://github.com/confidential-containers/kbs-operator),\nwhich deploys the KBS components. The second option is to use the KBS'\nprovided Kubernetes tooling [here](kbs/config/kubernetes).\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fconfidential-containers%2Fkbs.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fconfidential-containers%2Fkbs?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfidential-containers%2Ftrustee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconfidential-containers%2Ftrustee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconfidential-containers%2Ftrustee/lists"}