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: demo/cca/manual-end-to-end.md
+99-22Lines changed: 99 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ end to end CCA Platform Verification Demonstration.
12
12
13
13
Follow the instructions given [here](https://go.dev/doc/install) to install `go` in your system
14
14
15
+
> **Important**: After installing Go, ensure that `$GOPATH/bin` (or `$HOME/go/bin` if using default GOPATH) is in your `$PATH` so that Go-installed binaries like `protoc-gen-go` can be found by `protoc`.
* For build to succeed, one needs to install following packages:
67
-
1. protoc-gen-go with version v1.26
68
-
2. protoc-gen-go-grpc version v1.1
69
-
3. protoc-gen-go-json version v1.1.0
70
-
4. mockgen version v1.6.0
84
+
* Install **jq** and **curl** using your system's package manager
85
+
* Follow the same package installation steps as above, but:
86
+
- For **protoc**: Download the appropriate binary for your OS from [Protocol Buffers releases](https://github.com/protocolbuffers/protobuf/releases) (e.g., `protoc-32.1-osx-x86_64.zip` for macOS)
87
+
- The **Go packages** (protoc-gen-go, protoc-gen-go-grpc, etc.) install the same way via `go install` on all platforms
71
88
72
89
* Commands below assume execution in a Bourne-compatible shell. Please adjust appropriately in case any other shell is used.
73
90
91
+
### Troubleshooting
92
+
93
+
If you encounter issues with the above installation:
94
+
95
+
**protoc not found:**
96
+
- Ensure `$HOME/.local/bin` is in your `$PATH`
97
+
- Try `which protoc` to verify installation location
98
+
- For system-wide installation, extract to `/usr/local` instead of `$HOME/.local`
99
+
100
+
**protoc-gen-go not found:**
101
+
- Verify Go is properly installed: `go version`
102
+
- Ensure `$GOPATH/bin` (or `$HOME/go/bin`) is in your `$PATH`
103
+
- Try `which protoc-gen-go` to verify the plugin is available
104
+
- If using Go modules, the default GOPATH is `$HOME/go`
105
+
106
+
**Permission issues:**
107
+
- Use `sudo` for system-wide installation of protoc
108
+
- For Go packages, avoid `sudo` as they install in user space
74
109
75
110
## Creation of CCA Endorsements
76
111
@@ -304,4 +339,46 @@ Now decode the Entity Attestation Results using `arc` tool as given above
304
339
305
340
1. On VTS plugin window(where VTS is running) one should see the debug print: `plugin.scheme-cca-ssd-platform: Token Signature Verified`, `matchSoftware Success` & `matchPlatformConfig Success`
306
341
342
+
2. On Verification window one should see Appraisal Context indicating Success
343
+
${TOPDIR}/docs/demo/cca/prov-verif-e2e
344
+
```
345
+
346
+
* Verifying Evidence as a Relying party with the Veraison Verifier
347
+
348
+
1. First create Evidence using supplied templates
349
+
350
+
```shell
351
+
evcli cca create --claims=data/templates/cca-claims.json --pak=data/keys/ec256.jwk --rak=data/keys/ec384.jwk --token=cca-evidence.cbor
352
+
```
353
+
` >> "cca-evidence.cbor" successfully created `
354
+
355
+
2. Exchange Evidence with the Verification Service
Now decode the Entity Attestation Results using `arc` tool as given above
379
+
380
+
* Log checking
381
+
382
+
1. On VTS plugin window(where VTS is running) one should see the debug print: `plugin.scheme-cca-ssd-platform: Token Signature Verified`, `matchSoftware Success` & `matchPlatformConfig Success`
383
+
307
384
2. On Verification window one should see Appraisal Context indicating Success
Copy file name to clipboardExpand all lines: demo/psa/manual-end-to-end.md
+61-27Lines changed: 61 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@ end to end PSA Demonstration.
8
8
### Install on Ubuntu
9
9
* One needs to install `Go`, `jq`,`sqlite3`,`tmux` and `curl`.
10
10
11
-
Use the below mentioned path to install go in your system:
11
+
Follow the instructions at https://go.dev/doc/install to install Go in your system.
12
12
13
-
`https://go.dev/doc/install`
13
+
> **Important**: After installing Go, ensure that `$GOPATH/bin` (or `$HOME/go/bin` if using default GOPATH) is in your `$PATH` so that Go-installed binaries like `protoc-gen-go` can be found by `protoc`.
14
14
15
15
Installing jq:
16
16
```sh
@@ -38,39 +38,73 @@ sudo apt-get install tmux
38
38
39
39
40
40
* For build to succeed one needs to install following packages:
41
-
1. protoc-gen-go with version v1.26
42
-
From `https://github.com/protocolbuffers/protobuf/releases` download the `protobuf-all-[VERSION].tar.gz`.
* For build to succeed one needs to install following packages:
67
-
1. protoc-gen-go with version v1.26
68
-
2. protoc-gen-go-grpc version v1.1
69
-
3. protoc-gen-go-json version v1.1.0
70
-
4. mockgen version v1.6.0
83
+
* Install **jq** and **curl** using your system's package manager
84
+
* Follow the same package installation steps as above, but:
85
+
- For **protoc**: Download the appropriate binary for your OS from [Protocol Buffers releases](https://github.com/protocolbuffers/protobuf/releases) (e.g., `protoc-32.1-osx-x86_64.zip` for macOS)
86
+
- The **Go packages** (protoc-gen-go, protoc-gen-go-grpc, etc.) install the same way via `go install` on all platforms
71
87
72
88
* Commands below assume execution in a Bourne-compatible shell. Please adjust appropriately in case any other shell is used.
73
89
90
+
### Troubleshooting
91
+
92
+
If you encounter issues with the above installation:
93
+
94
+
**protoc not found:**
95
+
- Ensure `$HOME/.local/bin` is in your `$PATH`
96
+
- Try `which protoc` to verify installation location
97
+
- For system-wide installation, extract to `/usr/local` instead of `$HOME/.local`
98
+
99
+
**protoc-gen-go not found:**
100
+
- Verify Go is properly installed: `go version`
101
+
- Ensure `$GOPATH/bin` (or `$HOME/go/bin`) is in your `$PATH`
102
+
- Try `which protoc-gen-go` to verify the plugin is available
103
+
- If using Go modules, the default GOPATH is `$HOME/go`
104
+
105
+
**Permission issues:**
106
+
- Use `sudo` for system-wide installation of protoc
107
+
- For Go packages, avoid `sudo` as they install in user space
0 commit comments