Skip to content

Commit

Permalink
ibmse: update development doc for debug_assertions
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Feng Huo <[email protected]>
  • Loading branch information
Qi Feng Huo committed Jun 17, 2024
1 parent a5b77ad commit 40c05e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion attestation-service/verifier/src/se/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ openssl pkey -in kbs.key -pubout -out kbs.pem

## Build KBS
```
cargo install --locked --path kbs/src/kbs --no-default-features --features coco-as-builtin,openssl,resource,opa
cargo install --locked --debug --path kbs/src/kbs --no-default-features --features coco-as-builtin,openssl,resource,opa
```

## (Option 1) Launch KBS as a program
Expand Down Expand Up @@ -108,6 +108,8 @@ export SE_SKIP_CERTS_VERIFICATION=true
DOCKER_BUILDKIT=1 docker build -t ghcr.io/confidential-containers/staged-images/kbs:latest --build-arg KBS_FEATURES=coco-as-builtin,openssl,resource,opa . -f kbs/docker/Dockerfile
```

> Note: Please add `--debug` in statement like `cargo install xxx` in file `kbs/docker/Dockerfile` if you're using a development host key document to skip HKD's signature verification.
- Prepare a docker compose file, similar as:
```
services:
Expand Down

0 comments on commit 40c05e7

Please sign in to comment.