w3c / wot-security

a repo exclusively for security to better manage issues and security considerations for WoT
https://w3c.github.io/wot-security/
18 stars 22 forks source link

Metadata: Protocol-Specific or Generic #83

Closed mmccool closed 6 years ago

mmccool commented 6 years ago

Should security metadata be protocol-specific or generic? For example, should we have http + basic for basic HTTP authentication, or a generic scheme "basic" defined as "plain-text username and password, intended to be wrapped in an encrypted context" that can be used with multiple protocols? Discussion: "generic" is more in the spirit of the TD and WoT but there will be many exceptions, since many protocols do have their own security mechanisms (MQTT, OCF, etc). If a generic approach is chosen, how do we manage the namespace of protocol-specific options... additional protocol vocabulary? What metadata can be given generic names (as, alg, etc)? How do we limit a generic security configuration to a particular protocol?

mmccool commented 6 years ago

Feedback from meeting:

mmccool commented 6 years ago

Will leave open until I generate and we review a PR with the suggested changes.

mmccool commented 6 years ago

See PR https://github.com/w3c/wot-security/pull/86

mmccool commented 6 years ago

Done. Current proposal is generic and flat.