Skip to content
Open
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
c1cc819
tdx-isa
raoulstrackx Jan 12, 2026
ba86bab
Split memory-layout from sgx-isa
raoulstrackx Jan 12, 2026
a20c424
Start work
raoulstrackx Jan 16, 2026
c560d2d
feat(tdx): finish new crate tdx-isa as a wrapper of tdx-attest-rs
Taowyoo Jan 18, 2026
82f621c
feat(build): update CI workflow to install build dependencies from sc…
Taowyoo Jan 18, 2026
f7214f5
docs(tdx-isa): improve documentation
Taowyoo Jan 18, 2026
6a6cba8
feat(tdx-isa): add README with build dependencies and usage instructions
Taowyoo Jan 20, 2026
9398688
refactor(tdx-isa): remove unused build script for tdx-isa
Taowyoo Jan 20, 2026
d435709
feat(tdx-isa): update dependencies and enhance TDX report handling
Taowyoo Jan 20, 2026
6583e19
feat(memory-layout): add serde feature to struct_def macro and improv…
Taowyoo Jan 21, 2026
9c268d5
feat(ci): update async-usercalls test step and add tdx-isa feature tests
Taowyoo Jan 21, 2026
baab81c
feat(tdx-isa): add ioctl-based backend for TDX attestation and enhanc…
Taowyoo Jan 21, 2026
e5dec0e
feat: update copyright notices & include MPL 2.0 terms in new source …
Taowyoo Jan 21, 2026
611a0fa
docs: update README to clarify TDX attestation backends and dependencies
Taowyoo Jan 21, 2026
757a308
docs: update outdated module documentation for TDX attestation APIs
Taowyoo Jan 21, 2026
0277dfa
feat(tdx): refactor code to have tdx types added in sgx-isa crate, re…
Taowyoo Jan 22, 2026
636d4ed
fix(ci): update test command for tdx-ql to include tdx-module feature
Taowyoo Jan 22, 2026
4ec3dc0
fix(release): correct naming in release.yml
Taowyoo Jan 22, 2026
7d5d4ec
feat(tdx-ql): remove intel tdx-attest-rs backend
Taowyoo Jan 22, 2026
fbac44b
feat(tdx): implement TDX attestation error handling and refactor rela…
Taowyoo Jan 22, 2026
cb34ca9
Revert "Split memory-layout from sgx-isa"
Taowyoo Jan 22, 2026
0498020
update macro: struct_def
Taowyoo Jan 22, 2026
4474971
fix(tdx_ioctl): correct ioctl command macro for extending RTMR
Taowyoo Jan 22, 2026
23fb3b7
feat(tdx): implement Debug trait for TdxReport and TdxReportMac
Taowyoo Jan 22, 2026
b039364
feat(tdx): add example CLI for tdx-ql with report fetching and RTMR e…
Taowyoo Jan 22, 2026
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
14 changes: 3 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,8 @@ jobs:
echo "PCCS_URL=${{ vars.PCCS_URL }}" >> $GITHUB_ENV
fi

- name: Install additional dependencies
run: |
# install gpg
sudo apt-get update -y && sudo apt install -y gpg
# Add intel-sgx package repository, key is download from https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key
cat intel-sgx-deb.key | gpg --dearmor | sudo tee /usr/share/keyrings/intel-sgx-deb.gpg > /dev/null
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/intel-sgx-deb.gpg] https://download.01.org/intel-sgx/sgx_repo/ubuntu noble main" | sudo tee /etc/apt/sources.list.d/intel-sgx-deb.list > /dev/null
# Install dependencies for build & test
sudo apt-get update -y
sudo apt-get install -y faketime protobuf-compiler libsgx-dcap-ql-dev clang-18 musl-tools gcc-multilib
- name: Install build dependencies
run: sudo ./install_build_deps.sh

- name: Setup Rust toolchain
run: |
Expand All @@ -60,7 +52,7 @@ jobs:
- name: Cargo test --all --exclude sgxs-loaders
run: cargo test --verbose --locked --all --exclude sgxs-loaders --exclude async-usercalls && [ "$(echo $(nm -D target/debug/sgx-detect|grep __vdso_sgx_enter_enclave))" = "w __vdso_sgx_enter_enclave" ]

- name: cargo test -p async-usercalls --target x86_64-fortanix-unknown-sgx --no-run
- name: Nightly test -p async-usercalls --target x86_64-fortanix-unknown-sgx --no-run
run: cargo +nightly test --verbose --locked -p async-usercalls --target x86_64-fortanix-unknown-sgx --no-run

- name: Nightly test -p dcap-artifact-retrieval --target x86_64-fortanix-unknown-sgx --no-default-features --no-run
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ on:
- 'sgxs_v[0-9]+.[0-9]+.[0-9]+'
- 'ipc-queue_v[0-9]+.[0-9]+.[0-9]+'
- 'rs-libc_v[0-9]+.[0-9]+.[0-9]+'
- 'tdx-ql_v[0-9]+.[0-9]+.[0-9]+'

env:
RUST_BACKTRACE: 1
Expand Down
112 changes: 89 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ members = [
"intel-sgx/sgxs-loaders",
"intel-sgx/sgxs-tools",
"intel-sgx/sgxs",
"intel-tdx/tdx-ql",
"ipc-queue",
"memory-layout",
"rs-libc",
]
exclude = [
Expand Down
4 changes: 2 additions & 2 deletions install_build_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ echo "deb [arch=$ARCH signed-by=/usr/share/keyrings/intel-sgx-deb.gpg] https://d
info "Updating package lists..."
$SUDO apt-get update -y

info "Installing build dependencies: protobuf-compiler, libsgx-dcap-ql-dev, clang-18..."
$SUDO apt-get install -y protobuf-compiler libsgx-dcap-ql-dev clang-18
info "Installing build dependencies: faketime protobuf-compiler libsgx-dcap-ql-dev clang-18 musl-tools gcc-multilib"
$SUDO apt-get install -y faketime protobuf-compiler libsgx-dcap-ql-dev clang-18 musl-tools gcc-multilib

info "All dependencies installed successfully."
4 changes: 3 additions & 1 deletion intel-sgx/sgx-isa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ mbedtls = { version = ">=0.12.0, <0.14.0", default-features = false, features =
# External dependencies
bitflags = "1" # MIT/Apache-2.0
serde = { version = "1.0.104", features = ["derive"], optional = true } # MIT/Apache-2.0
memory-layout = { version = "0.1", path = "../../memory-layout" }

[features]
large_array_derive = []
large_array_derive = ["memory-layout/large_array_derive"]
serde = ["dep:serde", "memory-layout/serde"]
sgxstd = []
Loading