I recently became aware of that the European Union (EU), after years of fruitless work by 
hundreds of organizations to create an EU-designed payment wallet, finally threw in the 
towel and reassigned the project to a "genuine" SDO.  Here is my objective(?) 
review of the revised EU project:
https://github.com/eu-digital-identity-wallet/eudi-doc-architecture-and-reference-framework/issues/774

EMV+ is the name of an alternative solution which (among many things) replaces 
JSON with Deterministically Encoded CBOR.

At the core of this design there is a scheme combining signatures and 
encryption in a way which I (until proven wrong...), claim would be extremely 
awkward to recreate in COSE.
https://cyberphone.github.io/wallet-core/doc/#2.4.payer-authorization


Going back to the actual subject line...
I don't know anything about your particular application, but using Embedded 
Signatures, it could maybe be expressed as:

{
  "sha256": h'f863a3013204a301012006215820fe49acf5b92b6e923594f2e8333c88f706c7',
  "location": "https://example.com/mycbor";,
  "descriptor": "some deterministically encoded CBOR",
  simple(99): {  # Signature container
    1: -19,  # COSE Ed25519 signature algorithm
    4: {   # COSE Ed25519 public key container
      1: 1,
      -1: 6,
      -2: h'fe49acf5b92b6e923594f2e83368f680ac924be93cf533aecaf802e37757f8c9'
    },  # Signature value
    6: 
h'5a797cb63a8c13a7e3c4c1344f2aae1452b4e468b122083b3115ea35deb4f339725f2fe56e6b178dceffa8f8e2846f0f5483a626eb6d44aa7291a912d46a8403'
  }
}

Regards,
Anders
_______________________________________________
COSE mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to