Code Monkey home page Code Monkey logo

Comments (6)

nedmsmith avatar nedmsmith commented on July 21, 2024 1

I think it would be convenient for this I-D to allocate a CBOR tag for tagged-cmw-record.
E.g.: tagged-cmw-record = #6.TBA(cmw-record)

from draft-ietf-rats-msg-wrap.

thomas-fossati avatar thomas-fossati commented on July 21, 2024

Given a use case for an attestation results or other message that conveys other CMs that are relevant to a particular attestation result. Does it make sense to continue following the convention of using tagged cbor - as in:

tagged-cmw-record = #6.4711(bytes .cbor cmw-array)

A possible triple record structure that treats other CMs as triple objects might be:

ar-triple-record = [ 
     attester: stateful-environment-map,
     ar-claims: [ + $ar-claims-type-choice ] 
]
$ar-claims-type-choice /= tagged-cmw-record

The argument against is that cmw-array already has tagged values and the little bit of CDDL inside of ar-claims: isn't enough to warrant needing a CBOR tag. The argument for is that all $ar-claims-type-choice possibilities are expected to be tagged-xxx values that can be dispatched by a parser dispatcher following a consistent convention.

In the context of a triple's object type choice, I think it makes total sense to add the extra tag.

from draft-ietf-rats-msg-wrap.

nedmsmith avatar nedmsmith commented on July 21, 2024

Did this issue get resolved?

from draft-ietf-rats-msg-wrap.

thomas-fossati avatar thomas-fossati commented on July 21, 2024

Did this issue get resolved?

The question is who should be responsible for registering the tag:

  • CMW itself, or
  • the spec using CMW

(For the record, I am fine either way.)

from draft-ietf-rats-msg-wrap.

thomas-fossati avatar thomas-fossati commented on July 21, 2024

quick note: this tag is to be used only for the CBOR array- and CBOR tag-based serialisations.

from draft-ietf-rats-msg-wrap.

thomas-fossati avatar thomas-fossati commented on July 21, 2024

Fixed in #33

from draft-ietf-rats-msg-wrap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.