Skip to content

doubts on internal representation of key triples “types" #567

@thomas-fossati

Description

@thomas-fossati

A couple of questions about the internal representation of key triples:

typed-crypto-key = {
  key: $crypto-key-type-choice
  ? key-type: uint .bits key-type
}

key-type = &(
  attest-key: 0
  identity-key: 1
)
  1. Why is the key-type optional? What is the default?
  2. Why is key-type a bitmask? Is this a case of compression?

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