@super-protocol/addons-tee 0.8.17-beta.1 → 0.8.17-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bindings/amd-sev-snp-napi-rs/amd-sev-snp-napi-rs.linux-x64-gnu.node +0 -0
- package/bindings/sp-sev/.github/auto_assign-issues.yml +5 -0
- package/bindings/sp-sev/.github/auto_assign.yml +21 -0
- package/bindings/sp-sev/.github/dependabot.yml +6 -0
- package/bindings/sp-sev/.github/workflows/dco.yml +10 -0
- package/bindings/sp-sev/.github/workflows/lint.yml +56 -0
- package/bindings/sp-sev/.github/workflows/test.yml +54 -0
- package/bindings/sp-sev/.rustfmt.toml +2 -0
- package/bindings/sp-sev/CODEOWNERS +1 -0
- package/bindings/sp-sev/Cargo.lock +2221 -0
- package/bindings/sp-sev/Cargo.toml +80 -0
- package/bindings/sp-sev/LICENSE +201 -0
- package/bindings/sp-sev/README.md +82 -0
- package/bindings/sp-sev/build.rs +17 -0
- package/bindings/sp-sev/docs/attestation/README.md +239 -0
- package/bindings/sp-sev/docs/attestation/certchain.dot +14 -0
- package/bindings/sp-sev/docs/attestation/certchain.dot.png +0 -0
- package/bindings/sp-sev/docs/attestation/prerequisites.md +6 -0
- package/bindings/sp-sev/docs/attestation/process.msc +60 -0
- package/bindings/sp-sev/docs/attestation/process.msc.png +0 -0
- package/bindings/sp-sev/docs/attestation/protections.md +53 -0
- package/bindings/sp-sev/package-version.py +11 -0
- package/bindings/sp-sev/tests/api.rs +191 -0
- package/bindings/sp-sev/tests/certs.rs +143 -0
- package/bindings/sp-sev/tests/certs_data/cert_chain_milan +74 -0
- package/bindings/sp-sev/tests/certs_data/cert_chain_turin +74 -0
- package/bindings/sp-sev/tests/certs_data/report_milan.hex +1 -0
- package/bindings/sp-sev/tests/certs_data/vcek_milan.der +0 -0
- package/bindings/sp-sev/tests/certs_data/vcek_turin.der +0 -0
- package/bindings/sp-sev/tests/guest.rs +56 -0
- package/bindings/sp-sev/tests/id-block.rs +168 -0
- package/bindings/sp-sev/tests/measurement/ovmf_AmdSev_suffix.bin +0 -0
- package/bindings/sp-sev/tests/measurement/ovmf_OvmfX64_suffix.bin +0 -0
- package/bindings/sp-sev/tests/measurement/test_auth_block.bin +0 -0
- package/bindings/sp-sev/tests/measurement/test_auth_key.pem +6 -0
- package/bindings/sp-sev/tests/measurement/test_auth_sig.bin +0 -0
- package/bindings/sp-sev/tests/measurement/test_id_key.pem +6 -0
- package/bindings/sp-sev/tests/measurement/test_id_sig.bin +0 -0
- package/bindings/sp-sev/tests/measurement.rs +510 -0
- package/bindings/sp-sev/tests/naples/ark.cert.bad +0 -0
- package/bindings/sp-sev/tests/naples/ark.cert.sig +0 -0
- package/bindings/sp-sev/tests/naples/ark.rs +38 -0
- package/bindings/sp-sev/tests/naples/ask.rs +29 -0
- package/bindings/sp-sev/tests/naples/cek.cert +0 -0
- package/bindings/sp-sev/tests/naples/cek.rs +30 -0
- package/bindings/sp-sev/tests/naples/mod.rs +20 -0
- package/bindings/sp-sev/tests/naples/oca.cert +0 -0
- package/bindings/sp-sev/tests/naples/oca.rs +45 -0
- package/bindings/sp-sev/tests/naples/pdh.cert +0 -0
- package/bindings/sp-sev/tests/naples/pdh.rs +28 -0
- package/bindings/sp-sev/tests/naples/pek.cert +0 -0
- package/bindings/sp-sev/tests/naples/pek.rs +32 -0
- package/bindings/sp-sev/tests/rome/ark.rs +33 -0
- package/bindings/sp-sev/tests/rome/ask.rs +29 -0
- package/bindings/sp-sev/tests/rome/cek.cert +0 -0
- package/bindings/sp-sev/tests/rome/cek.rs +29 -0
- package/bindings/sp-sev/tests/rome/mod.rs +16 -0
- package/bindings/sp-sev/tests/rome/oca.cert +0 -0
- package/bindings/sp-sev/tests/rome/oca.rs +45 -0
- package/bindings/sp-sev/tests/rome/pdh.cert +0 -0
- package/bindings/sp-sev/tests/rome/pdh.rs +28 -0
- package/bindings/sp-sev/tests/rome/pek.cert +0 -0
- package/bindings/sp-sev/tests/rome/pek.rs +32 -0
- package/bindings/sp-sev/tests/session.rs +39 -0
- package/bindings/sp-sev/tests/sev_launch.rs +120 -0
- package/bindings/sp-sev/tests/snp_launch.rs +108 -0
- package/bindings/utils/virtee/libsev.so +0 -0
- package/bindings/utils/virtee/snpguest +0 -0
- package/dist/sgx-native-module/sev-snp.d.ts +1 -0
- package/dist/sgx-native-module/sev-snp.js +3 -2
- package/package.json +1 -1
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Set to true to add reviewers to pull requests
|
|
2
|
+
addReviewers: true
|
|
3
|
+
|
|
4
|
+
# Set to true to add assignees to pull requests
|
|
5
|
+
addAssignees: true
|
|
6
|
+
|
|
7
|
+
# A list of reviewers to be added to pull requests (GitHub user name)
|
|
8
|
+
reviewers:
|
|
9
|
+
- DGonzalezVillal
|
|
10
|
+
- tylerfanelli
|
|
11
|
+
- larrydewey
|
|
12
|
+
- ryansavino
|
|
13
|
+
|
|
14
|
+
# A list of keywords to be skipped the process that add reviewers if pull requests include it
|
|
15
|
+
skipKeywords:
|
|
16
|
+
- wip
|
|
17
|
+
- WIP
|
|
18
|
+
|
|
19
|
+
# A number of reviewers added to the pull request
|
|
20
|
+
# Set 0 to add all the reviewers (default: 0)
|
|
21
|
+
numberOfReviewers: 2
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
on: [push, pull_request]
|
|
2
|
+
name: lint
|
|
3
|
+
jobs:
|
|
4
|
+
fmt:
|
|
5
|
+
name: cargo fmt
|
|
6
|
+
runs-on: ubuntu-latest
|
|
7
|
+
steps:
|
|
8
|
+
- uses: actions/checkout@v4
|
|
9
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
10
|
+
with:
|
|
11
|
+
components: rustfmt
|
|
12
|
+
toolchain: 1.80.0
|
|
13
|
+
- run: cargo fmt --all -- --check
|
|
14
|
+
|
|
15
|
+
clippy-openssl:
|
|
16
|
+
name: cargo clippy openssl
|
|
17
|
+
runs-on: ubuntu-latest
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v4
|
|
20
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
21
|
+
with:
|
|
22
|
+
components: clippy
|
|
23
|
+
toolchain: 1.80.0
|
|
24
|
+
- run: cargo clippy --features=openssl,hw_tests,dangerous_hw_tests --all-targets -- -D clippy::all -D unused_imports -D warnings -D clippy::style
|
|
25
|
+
|
|
26
|
+
clippy-crypto_nossl:
|
|
27
|
+
name: cargo clippy crypto_nossl
|
|
28
|
+
runs-on: ubuntu-latest
|
|
29
|
+
steps:
|
|
30
|
+
- uses: actions/checkout@v4
|
|
31
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
32
|
+
with:
|
|
33
|
+
components: clippy
|
|
34
|
+
toolchain: 1.80.0
|
|
35
|
+
- run: cargo clippy --features=crypto_nossl,hw_tests,dangerous_hw_tests --all-targets -- -D clippy::all -D unused_imports -D warnings -D clippy::style
|
|
36
|
+
|
|
37
|
+
readme:
|
|
38
|
+
name: cargo rdme
|
|
39
|
+
runs-on: ubuntu-latest
|
|
40
|
+
steps:
|
|
41
|
+
- uses: actions/checkout@v4
|
|
42
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
43
|
+
with:
|
|
44
|
+
toolchain: nightly
|
|
45
|
+
- run: |
|
|
46
|
+
cargo install cargo-rdme
|
|
47
|
+
cargo rdme --check
|
|
48
|
+
|
|
49
|
+
check-spdx-headers:
|
|
50
|
+
runs-on: ubuntu-latest
|
|
51
|
+
steps:
|
|
52
|
+
- name: checkout
|
|
53
|
+
uses: actions/checkout@v4
|
|
54
|
+
- uses: enarx/spdx@master
|
|
55
|
+
with:
|
|
56
|
+
licenses: Apache-2.0
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
on: [push, pull_request]
|
|
2
|
+
name: test
|
|
3
|
+
jobs:
|
|
4
|
+
sw-openssl:
|
|
5
|
+
name: sw openssl ${{ matrix.runner }} ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
|
|
6
|
+
runs-on: ${{ matrix.runner }}
|
|
7
|
+
steps:
|
|
8
|
+
- uses: actions/checkout@v4
|
|
9
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
10
|
+
with:
|
|
11
|
+
toolchain: ${{ matrix.toolchain }}
|
|
12
|
+
- run: cargo test ${{ matrix.profile.flag }} --features=${{ matrix.features }}
|
|
13
|
+
|
|
14
|
+
strategy:
|
|
15
|
+
fail-fast: false
|
|
16
|
+
matrix:
|
|
17
|
+
runner:
|
|
18
|
+
- ubuntu-latest
|
|
19
|
+
- macos-13
|
|
20
|
+
toolchain:
|
|
21
|
+
- 1.80.0
|
|
22
|
+
- stable
|
|
23
|
+
profile:
|
|
24
|
+
- name: debug
|
|
25
|
+
- name: release
|
|
26
|
+
flag: --release
|
|
27
|
+
features:
|
|
28
|
+
- openssl
|
|
29
|
+
|
|
30
|
+
sw-crypto_nossl:
|
|
31
|
+
name: sw crypto_nossl ${{ matrix.runner }} ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
|
|
32
|
+
runs-on: ${{ matrix.runner }}
|
|
33
|
+
steps:
|
|
34
|
+
- uses: actions/checkout@v4
|
|
35
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
36
|
+
with:
|
|
37
|
+
toolchain: ${{ matrix.toolchain }}
|
|
38
|
+
- run: cargo test ${{ matrix.profile.flag }} --features=${{ matrix.features }}
|
|
39
|
+
strategy:
|
|
40
|
+
fail-fast: false
|
|
41
|
+
matrix:
|
|
42
|
+
runner:
|
|
43
|
+
- ubuntu-latest
|
|
44
|
+
- macos-13
|
|
45
|
+
- windows-latest
|
|
46
|
+
toolchain:
|
|
47
|
+
- 1.80.0
|
|
48
|
+
- stable
|
|
49
|
+
profile:
|
|
50
|
+
- name: debug
|
|
51
|
+
- name: release
|
|
52
|
+
flag: --release
|
|
53
|
+
features:
|
|
54
|
+
- crypto_nossl
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* @tylerfanelli @larrydewey @DGonzalezVillal
|