Skip to content

Make a versioned plaintext object for MessageKit? #2817

@fjarri

Description

@fjarri

Currently if a versioned object has a field that is an encrypted nested object, that object is also versioned. Examples:

  • EncryptedKeyFrag (contains an encrypted AuthorizedKeyFrag)
  • EncryptedTreasureMap (contains an encrypted AuthorizedTreasureMap)

This way the structure of the nested object can be changed independently later.

MessageKit, on the other hand, has its plaintext encrypted just as a bytestring - without any structure. If it is conceivable that we may add something to it later (signatures, keys, or whatever), it may be better to make it a versioned object too (even though it might seem trivial right now).

Metadata

Metadata

Assignees

No one assigned

    Labels

    ProtocolProtocol designquestionThis is a question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions