Skip to content

Conversation

achamayou
Copy link
Member

@achamayou achamayou commented Sep 25, 2025

This PR contains the following changes:

  1. did:attestedsvc: issuer payloads go from:
{
   1: -35,                ; alg: ES384
   2: [ "msft-css-dev" ],  ; crit
   4: bstr,               ; kid: SHA256 hash of canonical COSE_Key
  15: { ... },            ; CWT-Claims including issuer/subject
  "msft-css-dev": { ... } ; attestation map 
}

To:

{
   1: -35,                ; alg: ES384
   2: [ "attestedsvc" ], ; crit
   4: bstr,               ; kid: SHA256 hash of canonical COSE_Key
  15: { ... },            ; CWT-Claims including issuer/subject
  "attestedsvc": { "svc_id": "msft-css-dev", ... } ; attestation map as before
}
  1. Authentication enforces that iss starts with did:attestedsvc:{svc_id}:
  2. Authentication enforces that crit contains and only contains "attestedsvc"

@briankr-ms this is svc_id rather than svc-id for consistency with the other fields in the map (uvm_endorsement etc).

Closes #321

@achamayou achamayou requested a review from a team as a code owner September 25, 2025 13:38
@achamayou achamayou marked this pull request as draft September 25, 2025 13:38
@achamayou achamayou marked this pull request as ready for review September 25, 2025 15:47
@achamayou achamayou changed the title Draft re-shape of the attestedsvc map Update to attestedsvc map Sep 26, 2025
@ivarprudnikov
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ivarprudnikov ivarprudnikov merged commit f0c1a7e into microsoft:main Oct 2, 2025
9 checks passed
@ivarprudnikov ivarprudnikov deleted the attestedsvc_v2 branch October 2, 2025 11:11
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.

Change msft-css-dev header to attestedsvc
2 participants