Skip to content

attObj and Figure 3 [[#fig-attStructs]] do not agree #401

Closed
@equalsJeffH

Description

@equalsJeffH

in 5.3.4. Generating an Attestation Object, we have this CDDL description:

attObj = {
            authData: bytes,
            $$attStmtType
         }

attStmtTemplate = (
                      fmt: text,
                      attStmt: bytes
                  )

; Every attestation statement format must have the above fields
attStmtTemplate .within $$attStmtType

Tho, in Figure 3, the Attestation Object is illustrated (in part) as having this core structure:

ATTESTATION OBJECT
                     [ "fmt": "packed", ... | "authData": ... | "attStmt": ...  ]

If nothing in the rest of the spec is depending upon the ordering illustrated in Figure 3, then perhaps, if I am correct that this is an issue, we can just adjust Figure 3 to reflect reality?

A cursory look thru the rest of the spec seems to indicate that we can just repair Figure 3 to be something like:

ATTESTATION OBJECT
                     [  "authData": ... |  "fmt": "packed"  |  "attStmt": ... ]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions