Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

init: create project template #1

Merged
merged 1 commit into from
Dec 4, 2023
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
36 changes: 36 additions & 0 deletions .github/cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"version": "0.2",
"ignorepaths": [
".github/",
".git/"
],
"ignorewords": [],
"ignoreRegExpList": [
"/```[\\s\\S]*?```/g",
"/`[\\s\\S]*?`/g"
],
"import": [],
"dictionarydefinitions": [],
"dictionaries": [],
"words": [
"ccnp",
"containerd",
"daemonset",
"Eventlog",
"grpcurl",
"kustomization",
"NFD",
"proto",
"quoteserver",
"RTMR",
"TDVM",
"udev",
"PCCS",
"DCAP",
"distros",
"PCKID",
"pccs",
"pckcache",
"sysfs"
]
}
22 changes: 22 additions & 0 deletions .github/workflows/doclint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Document Scan

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
scan_doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: streetsidesoftware/cspell-action@v2
with:
files: |
**/*.md
*.md
config: .github/cspell.json
verbose: true
incremental_files_only: false
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# CC Trusted API

The project help to access and process the trusted primitives (measurement, eventlog,
quote) in confidential computing environment. It support multiple language flavors.

It also provides back-end tool, IMA template, services to produce the diverse TCBs
according to deployment.

![](docs/cc-trusted-api-overview.png)
Binary file added docs/cc-trusted-api-overview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/cc-trusted-primitives-vendor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions samples/CCTrustedInspect/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Inspect Tool

Get and dump the trusted primitives like measurement, event log, quote. With different
back-end SDK, the inspected TCB could be VM base, container or cluster.
1 change: 1 addition & 0 deletions utils/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Utilities
8 changes: 8 additions & 0 deletions vmsdk/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

# SDK for CC Trusted API in Confidential VM

In confidential VM, the trusted primitives (measurement, eventlog, quote) normally
can be accessed via device node like /dev/tpm0, sysfs etc, and different vendor
may provides the different definitions.

![](/docs/cc-trusted-primitives-vendor.png)
12 changes: 12 additions & 0 deletions vmsdk/python/cctrusted/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
"""
Package to provide CC trusted API for confidential VM
"""

def get_measurements():
pass

def get_eventlog():
pass

def get_quote():
pass