Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web of Things (WoT) Thing Description 1.1: TAG and Security Review #715

Closed
1 task done
mmccool opened this issue Feb 14, 2022 · 7 comments
Closed
1 task done

Web of Things (WoT) Thing Description 1.1: TAG and Security Review #715

mmccool opened this issue Feb 14, 2022 · 7 comments

Comments

@mmccool
Copy link

mmccool commented Feb 14, 2022

Braw mornin' TAG!

I'm requesting a TAG review of the Web of Things (WoT) Thing Description 1.1.

In the WoT Architecture, a Thing is defined as an abstraction of a physical IoT device such as a sensor (temperature, CO2, ...), an actuator (lamp, motor, ...), or a virtual entity (e.g., composition of one or more Things, a weather service). The Thing Description (TD) provides descriptive metadata for a Thing's network interface.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines:
    • Detailed schedule for all deliverables
    • TD 1.1 proposed milestones:
      • CR Candidate (e.g. including fixes for feedback points): May 1, 2022
      • CR Transition: mid-May, 2022
      • PR Transition: mid-June, 2022
  • The group where the work on this specification is currently being done: WoT WG
  • The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): WoT WG
  • Major unresolved issues with or opposition to this specification: None (WIP: may want to link to outstanding issues in tracker that have been pushed to TD 2.0)
  • This work is being funded by: members

You should also know that...

In the Thing Description 1.1 specification, text and table entries highlighted with a yellow background will indicate a feature associated with an at-risk assertion for which insufficient implementation experience exists. When an entire section is at-risk the words "This section is at risk." will be placed at the start of the section and highlighted with a yellow background.

There are also some related informative documents:

  • The WoT Binding Templates informative WG Note describes an optional WoT building block. This Note explains how to use the WoT Thing Description for specific IoT protocols.
  • The WoT Scripting API informative WG Note describes an optional WoT building block, and describes a JS API that can be used to implement behaviour in a WoT Thing (exposing a network API described by a WoT Thing Description) or a device consuming (reading) a WoT Thing Description.
  • The WoT Use Cases and Requirements informative WG Note includes a collection of stakeholder-submitted use cases driving requirements.

During the TAG review period, we plan to update the test results in the implementation report to reduce the number of at-risk assertions as much as possible before CR submission. The link above refers to the master branch of the repository, not the TAG-review branch.

We'd prefer the TAG provide feedback as (please delete all but the desired option):

🐛 open issues in our GitHub repo for each point of feedback


WIP! Will delete below only once this issue is complete and the referenced documents are ready for review.

CAREFULLY READ AND DELETE CONTENT BELOW THIS LINE BEFORE SUBMITTING

Please preview the issue and check that the links work before submitting.

In particular, if anything links to a URL which requires authentication (e.g. Google document), please make sure anyone with the link can access the document. We would prefer fully public documents though, since we work in the open.

¹ We require an explainer to give the relevant context for the spec review, even if the spec has some background information. For background, see our explanation of how to write a good explainer. We recommend the explainer to be in Markdown.

² A Security and Privacy questionnaire helps us understand potential security and privacy issues and mitigations for your design, and can save us asking redundant questions. See https://www.w3.org/TR/security-privacy-questionnaire/.

@mmccool mmccool changed the title WIP: Web of Things (WoT) Thing Description 1.1 - Security Review Web of Things (WoT) Thing Description 1.1 - Security Review Mar 30, 2022
@mmccool
Copy link
Author

mmccool commented Mar 30, 2022

Ready for review.

@mmccool mmccool changed the title Web of Things (WoT) Thing Description 1.1 - Security Review Web of Things (WoT) Thing Description 1.1: TAG and Security Review Mar 30, 2022
@hadleybeeman hadleybeeman self-assigned this Apr 13, 2022
@torgo torgo assigned torgo and unassigned hadleybeeman Apr 13, 2022
@torgo torgo added this to the 2022-04-18-week milestone Apr 13, 2022
@hadleybeeman hadleybeeman self-assigned this Apr 13, 2022
@maxpassion maxpassion self-assigned this Apr 13, 2022
@maxpassion
Copy link

Hi, I have a clarification question: does this specification aim to work only for the IoT devices that have an IP address?

@egekorkan
Copy link

Hi @maxpassion :

Hi, I have a clarification question: does this specification aim to work only for the IoT devices that have an IP address?

We have looked at your question at the TD call of 20.04. There can be two parts to this question:

  1. Does this specification aim to work only for the IoT devices?
  2. Does this specification aim to work only for the IoT devices that have an IP address?
  • Regarding 1: The WoT TD is not meant for general web services, but there are often web services associated with IoT systems, such as proxies, shadows, and digital twins, for which WoT TDs are appropriate.

  • Regarding 2: Until now, we have focused on IP-based protocols, such as HTTP, CoAP, MQTT etc.

If you would like more information, we can schedule a joint call or you can join our main call (https://www.w3.org/events/meetings/18c35c2a-47d6-44fe-b198-e438256544f3/20220427T080000)

@torgo
Copy link
Member

torgo commented Apr 26, 2022

Hi folks - we discussed in today's TAG call. We're largely happy with this. We'll keep this open until we get the review requests for the other WoT items - particularly the architecture - so we can do a more thorough pass.

@torgo torgo added the Progress: propose closing we think it should be closed but are waiting on some feedback or consensus label Apr 26, 2022
@hadleybeeman hadleybeeman added Review type: small delta Progress: propose closing we think it should be closed but are waiting on some feedback or consensus and removed Progress: propose closing we think it should be closed but are waiting on some feedback or consensus labels Apr 26, 2022
@torgo torgo modified the milestones: 2022-04-25-week, 2022-06-13-week Jun 4, 2022
@hadleybeeman
Copy link
Member

Hi @mmccool! Thanks for this. We've reviewed it in our W3C TAG meetings this week.

Apologies for the delay; we wanted to look at this in parallel with (our review of Web of Things (WoT) Architecture 1.1.

It looks fine to us, and we are happy to see the strengthened security and privacy work.

We also note that your issue 791 from our previous review, should be clearer about where the definition of the HTTP Protocol Binding is, is still open. Can you tell us a bit about your thoughts/plans for this? It looks like you're choosing to defer it — we are curious to hear if it's causing you trouble or why deferring it made sense for the group.

Many thanks!

@egekorkan
Copy link

Thank you for the positive comments! Regarding the HTTP Binding Issue:

Until somewhat recently, the binding templates document was a monolith with everything put together. Now, each protocol has its own document that can be clearly referenced. However, with TD 1.1 we want to stay backwards compatible and we cannot remove such an important part. With TD 2.0, this will be possible and it would make more sense that way.

@hadleybeeman
Copy link
Member

Thanks, @egekorkan — that's helpful.

We'll close this then, and put the bulk of our feedback on Web of Things under our TAG design review for Architecture 1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants