thomas-fossati / corim-psa

A CoRIM profile for PSA
Other
0 stars 0 forks source link

Add configuration data #2

Open thomas-fossati opened 1 year ago

thomas-fossati commented 1 year ago

As per discussion starting at https://github.com/thomas-fossati/draft-psa-token/issues/71#issuecomment-1418944582 we want to allow a verifier to tell whether a measurement is FW/SW or configuration.

Proposal

Add an optional boolean flag (defaulting to false) to the psa-swcomp-id that, if asserted, marks the swcomp as containing a measurement of some configuration data:

psa-swcomp-id = {
  psa.measurement-type => text
  psa.version => text
  psa.signer-id => psa.hash-type
  ? psa.is-config => bool .default false
}