You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tools/pcr0-verifier/README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# PCR0 Extractor
1
+
# PCR0 Verifier
2
2
3
3
This tool extracts the PCR0 measurement from an op-enclave EIF (Enclave Image Format) file. The PCR0 measurement is a cryptographic hash that represents the initial state of the enclave, which is crucial for attestation and verification purposes.
4
4
@@ -9,14 +9,14 @@ This tool extracts the PCR0 measurement from an op-enclave EIF (Enclave Image Fo
9
9
10
10
## Building and Running
11
11
12
-
1. Build the PCR0 extractor container:
12
+
1. Build the PCR0 verifier container:
13
13
```bash
14
-
docker build -t pcr0-extractor.
14
+
docker build -t pcr0-verifier.
15
15
```
16
16
17
17
2. Run the container to extract the PCR0:
18
18
```bash
19
-
docker run --rm pcr0-extractor
19
+
docker run --rm pcr0-verifier
20
20
```
21
21
22
22
The tool will:
@@ -48,4 +48,4 @@ The output will include both the raw PCR0 measurement and instructions for verif
48
48
49
49
## Note
50
50
51
-
The PCR0 measurement is specific to the version of the op-enclave EIF being examined. The current version being used is specified in the Dockerfile as `TAG=v0.0.1-rc5`.
51
+
The PCR0 measurement is specific to the version of the op-enclave EIF being examined. The current version being used is specified in the Dockerfile as `TAG=v0.0.1-rc5`. You can perform the same measurement on other EIF files by modifying the Dockerfile.
0 commit comments