Skip to content

Commit 1594ba2

Browse files
committed
Update attestation.md use latest dstack-mr
1 parent fb75a41 commit 1594ba2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

attestation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,26 @@ RTMR3 differs as it contains runtime information like compose hash and instance
3333

3434
### 2.2. Determining expected MRs
3535
MRTD, RTMR0, RTMR1, and RTMR2 correspond to the image. dstack OS builds all related software from source.
36-
Build version v0.4.0 using these commands:
36+
Build version v0.5.4 using these commands:
3737
```bash
3838
git clone https://github.com/Dstack-TEE/meta-dstack.git
3939
cd meta-dstack/
40-
git checkout 15189bcb5397083b5c650a438243ce3f29e705f4
40+
git checkout f7c795b76faa693f218e1c255007e3a68c541d79
4141
git submodule update --init --recursive
4242
cd repro-build && ./repro-build.sh -n
4343
```
4444

45-
The resulting dstack-v0.4.0.tar.gz contains:
45+
The resulting dstack-0.5.4.tar.gz contains:
4646

4747
- ovmf.fd: virtual firmware
4848
- bzImage: kernel image
4949
- initramfs.cpio.gz: initrd
50-
- rootfs.cpio: root filesystem
50+
- rootfs.img.verity: root filesystem
5151
- metadata.json: image metadata, including kernel boot cmdline
5252

53-
Calculate image MRs using [dstack-mr](https://github.com/kvinwang/dstack-mr):
53+
Calculate image MRs using [dstack-mr](dstack-mr/):
5454
```bash
55-
dstack-mr -cpu 4 -ram 4096 -metadata dstack-v0.4.0/metadata.json
55+
cargo run --manifest-path ../dstack/Cargo.toml --bin dstack-mr measure -c 4 -m 4G dstack-0.5.4/metadata.json
5656
```
5757

5858
Once these verification steps are completed successfully, the report_data contained in the verified quote can be considered authentic and trustworthy.

0 commit comments

Comments
 (0)