@super-protocol/addons-tee 0.9.10 → 2.0.0
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/nvidia-native/README.md +174 -0
- package/bindings/nvidia-native/package.json +26 -0
- package/bindings/nvidia-native/postinstall.js +40 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -28
- package/package.json +4 -2
- package/.editorconfig +0 -15
- package/.eslintrc.json +0 -61
- package/.prettierignore +0 -3
- package/.prettierrc +0 -15
- package/bindings/amd-sev-snp-napi-rs/amd-sev-snp-napi-rs.linux-x64-gnu.node +0 -0
- package/bindings/amd-sev-snp-napi-rs/index.d.ts +0 -51
- package/bindings/amd-sev-snp-napi-rs/index.js +0 -339
- package/bindings/amd-sev-snp-napi-rs/package-lock.json +0 -40
- package/bindings/sgx-native/build/Release/libmbedcrypto_gramine.so.15 +0 -0
- package/bindings/sgx-native/build/Release/libmbedx509_gramine.so.6 +0 -0
- package/bindings/sgx-native/build/Release/libsgx_dcap_quoteverify.so.1 +0 -0
- package/bindings/sgx-native/build/Release/libtdx_attest.so.1 +0 -0
- package/bindings/sgx-native/build/Release/sgx_native.node +0 -0
- package/bindings/sgx-native/package-lock.json +0 -23
- package/bindings/sp-sev/.github/auto_assign-issues.yml +0 -5
- package/bindings/sp-sev/.github/auto_assign.yml +0 -21
- package/bindings/sp-sev/.github/dependabot.yml +0 -6
- package/bindings/sp-sev/.github/workflows/dco.yml +0 -10
- package/bindings/sp-sev/.github/workflows/lint.yml +0 -56
- package/bindings/sp-sev/.github/workflows/test.yml +0 -215
- package/bindings/sp-sev/.rustfmt.toml +0 -2
- package/bindings/sp-sev/CODEOWNERS +0 -1
- package/bindings/sp-sev/Cargo.lock +0 -2461
- package/bindings/sp-sev/Cargo.toml +0 -80
- package/bindings/sp-sev/LICENSE +0 -201
- package/bindings/sp-sev/README.md +0 -82
- package/bindings/sp-sev/build.rs +0 -17
- package/bindings/sp-sev/docs/attestation/README.md +0 -239
- package/bindings/sp-sev/docs/attestation/certchain.dot +0 -14
- package/bindings/sp-sev/docs/attestation/certchain.dot.png +0 -0
- package/bindings/sp-sev/docs/attestation/prerequisites.md +0 -6
- package/bindings/sp-sev/docs/attestation/process.msc +0 -60
- package/bindings/sp-sev/docs/attestation/process.msc.png +0 -0
- package/bindings/sp-sev/docs/attestation/protections.md +0 -53
- package/bindings/sp-sev/package-version.py +0 -11
- package/bindings/sp-sev/tests/api.rs +0 -194
- package/bindings/sp-sev/tests/certs.rs +0 -142
- package/bindings/sp-sev/tests/certs_data/cert_chain_milan +0 -74
- package/bindings/sp-sev/tests/certs_data/cert_chain_turin +0 -74
- package/bindings/sp-sev/tests/certs_data/report_milan.hex +0 -1
- 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 +0 -57
- package/bindings/sp-sev/tests/id-block.rs +0 -172
- 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 +0 -6
- package/bindings/sp-sev/tests/measurement/test_auth_sig.bin +0 -0
- package/bindings/sp-sev/tests/measurement/test_id_key.pem +0 -6
- package/bindings/sp-sev/tests/measurement/test_id_sig.bin +0 -0
- package/bindings/sp-sev/tests/measurement.rs +0 -510
- 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 +0 -38
- package/bindings/sp-sev/tests/naples/ask.rs +0 -29
- package/bindings/sp-sev/tests/naples/cek.cert +0 -0
- package/bindings/sp-sev/tests/naples/cek.rs +0 -30
- package/bindings/sp-sev/tests/naples/mod.rs +0 -20
- package/bindings/sp-sev/tests/naples/oca.cert +0 -0
- package/bindings/sp-sev/tests/naples/oca.rs +0 -45
- package/bindings/sp-sev/tests/naples/pdh.cert +0 -0
- package/bindings/sp-sev/tests/naples/pdh.rs +0 -28
- package/bindings/sp-sev/tests/naples/pek.cert +0 -0
- package/bindings/sp-sev/tests/naples/pek.rs +0 -32
- package/bindings/sp-sev/tests/rome/ark.rs +0 -33
- package/bindings/sp-sev/tests/rome/ask.rs +0 -29
- package/bindings/sp-sev/tests/rome/cek.cert +0 -0
- package/bindings/sp-sev/tests/rome/cek.rs +0 -29
- package/bindings/sp-sev/tests/rome/mod.rs +0 -16
- package/bindings/sp-sev/tests/rome/oca.cert +0 -0
- package/bindings/sp-sev/tests/rome/oca.rs +0 -45
- package/bindings/sp-sev/tests/rome/pdh.cert +0 -0
- package/bindings/sp-sev/tests/rome/pdh.rs +0 -28
- package/bindings/sp-sev/tests/rome/pek.cert +0 -0
- package/bindings/sp-sev/tests/rome/pek.rs +0 -32
- package/bindings/sp-sev/tests/session.rs +0 -39
- package/bindings/sp-sev/tests/sev_launch.rs +0 -120
- package/bindings/sp-sev/tests/snp_launch.rs +0 -108
- package/bindings/utils/virtee/LICENSE +0 -201
- package/bindings/utils/virtee/libsev.so +0 -0
- package/bindings/utils/virtee/snpguest +0 -0
- package/dist/proto/AmdSevSnp.d.ts +0 -194
- package/dist/proto/AmdSevSnp.js +0 -363
- package/dist/sgx-native-module/consts.d.ts +0 -24
- package/dist/sgx-native-module/consts.js +0 -38
- package/dist/sgx-native-module/dcap-quote-verify.service.d.ts +0 -12
- package/dist/sgx-native-module/dcap-quote-verify.service.js +0 -84
- package/dist/sgx-native-module/enclave.service.d.ts +0 -93
- package/dist/sgx-native-module/enclave.service.js +0 -211
- package/dist/sgx-native-module/errors.d.ts +0 -19
- package/dist/sgx-native-module/errors.js +0 -69
- package/dist/sgx-native-module/helpers.d.ts +0 -1
- package/dist/sgx-native-module/helpers.js +0 -50
- package/dist/sgx-native-module/index.d.ts +0 -9
- package/dist/sgx-native-module/index.js +0 -26
- package/dist/sgx-native-module/pki.service.d.ts +0 -52
- package/dist/sgx-native-module/pki.service.js +0 -89
- package/dist/sgx-native-module/sev-snp-mrenclave.d.ts +0 -59
- package/dist/sgx-native-module/sev-snp-mrenclave.js +0 -323
- package/dist/sgx-native-module/sev-snp-schema.d.ts +0 -22
- package/dist/sgx-native-module/sev-snp-schema.js +0 -24
- package/dist/sgx-native-module/sev-snp.d.ts +0 -126
- package/dist/sgx-native-module/sev-snp.js +0 -491
- package/dto/src/AmdSevSnp.proto +0 -31
- package/dto/src/Compression.proto +0 -11
- package/dto/src/Hash.proto +0 -6
- package/dto/src/OrderReport.proto +0 -21
- package/dto/src/TRI.proto +0 -22
- package/dto/src/TeeDeviceInfo.proto +0 -46
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
on: [push, pull_request]
|
|
2
|
-
name: test
|
|
3
|
-
jobs:
|
|
4
|
-
|
|
5
|
-
sw-sev-only:
|
|
6
|
-
name: sw sev only ${{ matrix.runner }} ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
|
|
7
|
-
runs-on: ${{ matrix.runner }}
|
|
8
|
-
steps:
|
|
9
|
-
- uses: actions/checkout@v4
|
|
10
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
11
|
-
with:
|
|
12
|
-
toolchain: ${{ matrix.toolchain }}
|
|
13
|
-
- run: cargo test ${{ matrix.profile.flag }} --no-default-features --features=${{ matrix.features }}
|
|
14
|
-
|
|
15
|
-
strategy:
|
|
16
|
-
fail-fast: false
|
|
17
|
-
matrix:
|
|
18
|
-
runner:
|
|
19
|
-
- ubuntu-latest
|
|
20
|
-
- macos-13
|
|
21
|
-
toolchain:
|
|
22
|
-
- 1.85.0
|
|
23
|
-
- stable
|
|
24
|
-
profile:
|
|
25
|
-
- name: debug
|
|
26
|
-
- name: release
|
|
27
|
-
flag: --release
|
|
28
|
-
features:
|
|
29
|
-
- sev
|
|
30
|
-
|
|
31
|
-
sw-sev-openssl-only:
|
|
32
|
-
name: sw sev openssl only ${{ matrix.runner }} ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
|
|
33
|
-
runs-on: ${{ matrix.runner }}
|
|
34
|
-
steps:
|
|
35
|
-
- uses: actions/checkout@v4
|
|
36
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
37
|
-
with:
|
|
38
|
-
toolchain: ${{ matrix.toolchain }}
|
|
39
|
-
- run: cargo test ${{ matrix.profile.flag }} --no-default-features --features=${{ matrix.features }}
|
|
40
|
-
|
|
41
|
-
strategy:
|
|
42
|
-
fail-fast: false
|
|
43
|
-
matrix:
|
|
44
|
-
runner:
|
|
45
|
-
- ubuntu-latest
|
|
46
|
-
- macos-13
|
|
47
|
-
toolchain:
|
|
48
|
-
- 1.85.0
|
|
49
|
-
- stable
|
|
50
|
-
profile:
|
|
51
|
-
- name: debug
|
|
52
|
-
- name: release
|
|
53
|
-
flag: --release
|
|
54
|
-
features:
|
|
55
|
-
- sev
|
|
56
|
-
- openssl
|
|
57
|
-
|
|
58
|
-
sw-sev-crypto_nossl-only:
|
|
59
|
-
name: sw sev crypto_nossl only ${{ matrix.runner }} ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
|
|
60
|
-
runs-on: ${{ matrix.runner }}
|
|
61
|
-
steps:
|
|
62
|
-
- uses: actions/checkout@v4
|
|
63
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
64
|
-
with:
|
|
65
|
-
toolchain: ${{ matrix.toolchain }}
|
|
66
|
-
- run: cargo test ${{ matrix.profile.flag }} --no-default-features --features=${{ matrix.features }}
|
|
67
|
-
strategy:
|
|
68
|
-
fail-fast: false
|
|
69
|
-
matrix:
|
|
70
|
-
runner:
|
|
71
|
-
- ubuntu-latest
|
|
72
|
-
- macos-13
|
|
73
|
-
- windows-latest
|
|
74
|
-
toolchain:
|
|
75
|
-
- 1.85.0
|
|
76
|
-
- stable
|
|
77
|
-
profile:
|
|
78
|
-
- name: debug
|
|
79
|
-
- name: release
|
|
80
|
-
flag: --release
|
|
81
|
-
features:
|
|
82
|
-
- sev
|
|
83
|
-
- crypto_nossl
|
|
84
|
-
|
|
85
|
-
sw-snp-only:
|
|
86
|
-
name: sw snp-only ${{ matrix.runner }} ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
|
|
87
|
-
runs-on: ${{ matrix.runner }}
|
|
88
|
-
steps:
|
|
89
|
-
- uses: actions/checkout@v4
|
|
90
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
91
|
-
with:
|
|
92
|
-
toolchain: ${{ matrix.toolchain }}
|
|
93
|
-
- run: cargo test ${{ matrix.profile.flag }} --no-default-features --features=${{ matrix.features }}
|
|
94
|
-
|
|
95
|
-
strategy:
|
|
96
|
-
fail-fast: false
|
|
97
|
-
matrix:
|
|
98
|
-
runner:
|
|
99
|
-
- ubuntu-latest
|
|
100
|
-
- macos-13
|
|
101
|
-
toolchain:
|
|
102
|
-
- 1.85.0
|
|
103
|
-
- stable
|
|
104
|
-
profile:
|
|
105
|
-
- name: debug
|
|
106
|
-
- name: release
|
|
107
|
-
flag: --release
|
|
108
|
-
features:
|
|
109
|
-
- snp
|
|
110
|
-
|
|
111
|
-
sw-snp-openssl-only:
|
|
112
|
-
name: sw snp openssl only ${{ matrix.runner }} ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
|
|
113
|
-
runs-on: ${{ matrix.runner }}
|
|
114
|
-
steps:
|
|
115
|
-
- uses: actions/checkout@v4
|
|
116
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
117
|
-
with:
|
|
118
|
-
toolchain: ${{ matrix.toolchain }}
|
|
119
|
-
- run: cargo test ${{ matrix.profile.flag }} --no-default-features --features=${{ matrix.features }}
|
|
120
|
-
|
|
121
|
-
strategy:
|
|
122
|
-
fail-fast: false
|
|
123
|
-
matrix:
|
|
124
|
-
runner:
|
|
125
|
-
- ubuntu-latest
|
|
126
|
-
- macos-13
|
|
127
|
-
toolchain:
|
|
128
|
-
- 1.85.0
|
|
129
|
-
- stable
|
|
130
|
-
profile:
|
|
131
|
-
- name: debug
|
|
132
|
-
- name: release
|
|
133
|
-
flag: --release
|
|
134
|
-
features:
|
|
135
|
-
- snp
|
|
136
|
-
- openssl
|
|
137
|
-
|
|
138
|
-
sw-snp-crypto_nossl-only:
|
|
139
|
-
name: sw snp crypto_nossl only ${{ matrix.runner }} ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
|
|
140
|
-
runs-on: ${{ matrix.runner }}
|
|
141
|
-
steps:
|
|
142
|
-
- uses: actions/checkout@v4
|
|
143
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
144
|
-
with:
|
|
145
|
-
toolchain: ${{ matrix.toolchain }}
|
|
146
|
-
- run: cargo test ${{ matrix.profile.flag }} --no-default-features --features=${{ matrix.features }}
|
|
147
|
-
strategy:
|
|
148
|
-
fail-fast: false
|
|
149
|
-
matrix:
|
|
150
|
-
runner:
|
|
151
|
-
- ubuntu-latest
|
|
152
|
-
- macos-13
|
|
153
|
-
- windows-latest
|
|
154
|
-
toolchain:
|
|
155
|
-
- 1.85.0
|
|
156
|
-
- stable
|
|
157
|
-
profile:
|
|
158
|
-
- name: debug
|
|
159
|
-
- name: release
|
|
160
|
-
flag: --release
|
|
161
|
-
features:
|
|
162
|
-
- snp
|
|
163
|
-
- crypto_nossl
|
|
164
|
-
|
|
165
|
-
sw-openssl:
|
|
166
|
-
name: sw openssl ${{ matrix.runner }} ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
|
|
167
|
-
runs-on: ${{ matrix.runner }}
|
|
168
|
-
steps:
|
|
169
|
-
- uses: actions/checkout@v4
|
|
170
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
171
|
-
with:
|
|
172
|
-
toolchain: ${{ matrix.toolchain }}
|
|
173
|
-
- run: cargo test ${{ matrix.profile.flag }} --features=${{ matrix.features }}
|
|
174
|
-
|
|
175
|
-
strategy:
|
|
176
|
-
fail-fast: false
|
|
177
|
-
matrix:
|
|
178
|
-
runner:
|
|
179
|
-
- ubuntu-latest
|
|
180
|
-
- macos-13
|
|
181
|
-
toolchain:
|
|
182
|
-
- 1.85.0
|
|
183
|
-
- stable
|
|
184
|
-
profile:
|
|
185
|
-
- name: debug
|
|
186
|
-
- name: release
|
|
187
|
-
flag: --release
|
|
188
|
-
features:
|
|
189
|
-
- openssl
|
|
190
|
-
|
|
191
|
-
sw-crypto_nossl:
|
|
192
|
-
name: sw crypto_nossl ${{ matrix.runner }} ${{ matrix.toolchain }} ${{ matrix.profile.name }} ${{ matrix.features }}
|
|
193
|
-
runs-on: ${{ matrix.runner }}
|
|
194
|
-
steps:
|
|
195
|
-
- uses: actions/checkout@v4
|
|
196
|
-
- uses: dtolnay/rust-toolchain@stable
|
|
197
|
-
with:
|
|
198
|
-
toolchain: ${{ matrix.toolchain }}
|
|
199
|
-
- run: cargo test ${{ matrix.profile.flag }} --features=${{ matrix.features }}
|
|
200
|
-
strategy:
|
|
201
|
-
fail-fast: false
|
|
202
|
-
matrix:
|
|
203
|
-
runner:
|
|
204
|
-
- ubuntu-latest
|
|
205
|
-
- macos-13
|
|
206
|
-
- windows-latest
|
|
207
|
-
toolchain:
|
|
208
|
-
- 1.85.0
|
|
209
|
-
- stable
|
|
210
|
-
profile:
|
|
211
|
-
- name: debug
|
|
212
|
-
- name: release
|
|
213
|
-
flag: --release
|
|
214
|
-
features:
|
|
215
|
-
- crypto_nossl
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
* @tylerfanelli @larrydewey @DGonzalezVillal
|