Skip to content

CWT proof headaches  #341

@babisRoutis

Description

@babisRoutis

While trying various credential issuers I see 4 common variations to their metadata:

1st

"proof_types_supported": {
    "cwt": {
        "proof_signing_alg_values_supported": [  "ES256"  ]
    }
}

2nd

"proof_types_supported": {
    "cwt": {
        "proof_signing_alg_values_supported": [  "-7" ],
        "proof_alg_values_supported": [ -7 ],
        "proof_crv_values_supported": [ 1 ]
   }
}

3d

"proof_types_supported": {
    "cwt": {
        "proof_alg_values_supported": [ -7 ],
        "proof_crv_values_supported": [ 1 ]
   }
}

4th

"proof_types_supported": {
    "cwt": {
        "proof_signing_alg_values_supported": [ -7 ],
        "proof_alg_values_supported": [ -7 ],
        "proof_crv_values_supported": [ 1 ]
   }
}

To my understand :

  • In the 1st case, proof_signing_alg_values_supported contains JOSE algorithms not COSE algorithms. That's not aligned with dradt13
  • In the 2nd case, proof_signing_alg_values_supported contains COSE algorithms as strings. I believe that this should have been integers
  • In the 3d case, there is no proof_signing_alg_values_supported. I believe that's not correct since VCI d13 suggests that is a required attribute
  • The 4th options looks correct.

Can you please clarify the expected content of proof_signing_alg_values_supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions