Skip to content

(GET_)MEASUREMENTS#38

Draft
embediver wants to merge 5 commits intobuildupfrom
mgudel/measurements
Draft

(GET_)MEASUREMENTS#38
embediver wants to merge 5 commits intobuildupfrom
mgudel/measurements

Conversation

@embediver
Copy link

@embediver embediver commented Feb 26, 2026

  • Refactor (GET_)MEASUREMENTS command module
  • Implement GET_MEASUREMENTS
  • Implement MEASUREMENTS response handling
    • Parse MEASUREMENTS response
    • Provide measurements to initiator

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license-eye has checked 74 files.

Valid Invalid Ignored Fixed
0 59 15 0
Click to see the invalid file list
  • examples/platform/cert_store.rs
  • examples/platform/certs.rs
  • examples/platform/crypto.rs
  • examples/platform/evidence.rs
  • examples/platform/mod.rs
  • examples/platform/socket_transport.rs
  • examples/spdm_requester.rs
  • examples/spdm_responder.rs
  • src/cert_store.rs
  • src/chunk_ctx.rs
  • src/codec.rs
  • src/commands/algorithms/mod.rs
  • src/commands/algorithms/request.rs
  • src/commands/algorithms/response.rs
  • src/commands/capabilities/mod.rs
  • src/commands/capabilities/request.rs
  • src/commands/capabilities/response.rs
  • src/commands/certificate/mod.rs
  • src/commands/certificate/request.rs
  • src/commands/certificate/response.rs
  • src/commands/challenge/mod.rs
  • src/commands/challenge/request.rs
  • src/commands/challenge/response.rs
  • src/commands/chunk_get_rsp.rs
  • src/commands/digests/mod.rs
  • src/commands/digests/request.rs
  • src/commands/digests/response.rs
  • src/commands/error_rsp.rs
  • src/commands/measurements/mod.rs
  • src/commands/measurements/request.rs
  • src/commands/measurements/response.rs
  • src/commands/mod.rs
  • src/commands/version/mod.rs
  • src/commands/version/request.rs
  • src/commands/version/response.rs
  • src/context.rs
  • src/error.rs
  • src/lib.rs
  • src/measurements/common.rs
  • src/measurements/freeform_manifest.rs
  • src/measurements/mod.rs
  • src/platform/evidence.rs
  • src/platform/hash.rs
  • src/platform/mod.rs
  • src/platform/rng.rs
  • src/platform/transport.rs
  • src/protocol/algorithms.rs
  • src/protocol/capabilities.rs
  • src/protocol/certs.rs
  • src/protocol/common.rs
  • src/protocol/mod.rs
  • src/protocol/signature.rs
  • src/protocol/version.rs
  • src/requester.rs
  • src/state.rs
  • src/test.rs
  • src/transcript.rs
  • src/transport.rs
  • tests/spdm_validator_host.rs
Use this command to fix any missing license headers
```bash

docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix

</details>

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license-eye has checked 74 files.

Valid Invalid Ignored Fixed
0 59 15 0
Click to see the invalid file list
  • examples/platform/cert_store.rs
  • examples/platform/certs.rs
  • examples/platform/crypto.rs
  • examples/platform/evidence.rs
  • examples/platform/mod.rs
  • examples/platform/socket_transport.rs
  • examples/spdm_requester.rs
  • examples/spdm_responder.rs
  • src/cert_store.rs
  • src/chunk_ctx.rs
  • src/codec.rs
  • src/commands/algorithms/mod.rs
  • src/commands/algorithms/request.rs
  • src/commands/algorithms/response.rs
  • src/commands/capabilities/mod.rs
  • src/commands/capabilities/request.rs
  • src/commands/capabilities/response.rs
  • src/commands/certificate/mod.rs
  • src/commands/certificate/request.rs
  • src/commands/certificate/response.rs
  • src/commands/challenge/mod.rs
  • src/commands/challenge/request.rs
  • src/commands/challenge/response.rs
  • src/commands/chunk_get_rsp.rs
  • src/commands/digests/mod.rs
  • src/commands/digests/request.rs
  • src/commands/digests/response.rs
  • src/commands/error_rsp.rs
  • src/commands/measurements/mod.rs
  • src/commands/measurements/request.rs
  • src/commands/measurements/response.rs
  • src/commands/mod.rs
  • src/commands/version/mod.rs
  • src/commands/version/request.rs
  • src/commands/version/response.rs
  • src/context.rs
  • src/error.rs
  • src/lib.rs
  • src/measurements/common.rs
  • src/measurements/freeform_manifest.rs
  • src/measurements/mod.rs
  • src/platform/evidence.rs
  • src/platform/hash.rs
  • src/platform/mod.rs
  • src/platform/rng.rs
  • src/platform/transport.rs
  • src/protocol/algorithms.rs
  • src/protocol/capabilities.rs
  • src/protocol/certs.rs
  • src/protocol/common.rs
  • src/protocol/mod.rs
  • src/protocol/signature.rs
  • src/protocol/version.rs
  • src/requester.rs
  • src/state.rs
  • src/test.rs
  • src/transcript.rs
  • src/transport.rs
  • tests/spdm_validator_host.rs
Use this command to fix any missing license headers
```bash

docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix

</details>

@leongross
Copy link
Member

I am currently examining this repo's issues and found #14 . It looks as if all that has to be done for this to be considered completed, we must implement

10.12.1.2 Device mode field of a measurement block

DeviceModeCapabilities, which is just a bitfield.

@embediver embediver force-pushed the mgudel/measurements branch from 589fa3b to 0133253 Compare March 16, 2026 15:21
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license-eye has checked 76 files.

Valid Invalid Ignored Fixed
56 2 18 0
Click to see the invalid file list
  • src/commands/measurements/mod.rs
  • src/commands/measurements/request.rs
Use this command to fix any missing license headers
```bash

docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix

</details>

@embediver embediver force-pushed the mgudel/measurements branch from 0133253 to 0e10400 Compare March 16, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants