mlswg / mls-extensions

Other
5 stars 7 forks source link

Add content type for targeted messages #14

Closed kkohbrok closed 1 year ago

kkohbrok commented 1 year ago

Adding a content_type field to TargetedMessages allows other extensions to use them without fear of protocol confusion attacks. The alternative would be to use the content advertisement mechanism, which doesn't seem particularly clean, however, as we'd be mixing protocol and application level.

This is a draft as basis for further discussion. Especially the IANA considerations for the content type enum are missing.

kkohbrok commented 1 year ago

Closing this for now.