Giter VIP home page Giter VIP logo

usecases's Issues

[Requirements] a device CA that could issue specific domain only

Regarding a device CA, one of the things we need to clarify is whether such a domain in certificates issued by such a CA could be restricted to one domain or its subdomain or not. in other words, if such a restriction would be impossible, the CA would have to be a public CA.

If you have an interest and/or knowledge about this issue, any information or proposal, e.g. standards about domain-restricted CA if any, would be welcome.

WebRGBMouse

This one is slightly easier to enforce because you have to have an USB link-local connection to it but the idea is that RGB mice would provide a web interface instead of spyware-loaded "drivers". It's obviously local networking (altho not "LAN") and shouldn't be accessible by random webpages at all.

Remove a redundant use case

This is a minute thing but I think UC-01 and UC-06 are similar.

I'd like to remove UC-06. what's your take on this?

Unless I hear from you to the contrary, I'll send a PR.

Edit the draft CG Report on Use Cases and Requirements

According to CfC, we would like to start to draft the CG Report on Use Cases and Requirements.

The HTML version of this draft is generated by Bikeshed. Python 2.7 is required to run Bikeshed. To generate the HTML version by Bikeshed in your Python environment (e.g. virtualenv), you should run:

$ bikeshed spec index.bs index.html

Currently, the original version of bikeshed causes an error when trying to generate a CG report for HTTPSLocal. To avoid such an error, please clone and run the modified version of Bikeshed by @tomoyukilabs in httpslocal git branch: https://github.com/tomoyukilabs/bikeshed/tree/httpslocal.

Routers

I would expect internet routers being the first use case: Users want to access the web-based configuration interface of their internet router via HTTPS - because the browsers show warnings when they see password fields on non-https pages.

UC-03 with Service Workers

I would consider an use case similar to UC-3, but without the frontend page loading from the internet, but locally. This would be possible with Service Workers, that now are under developement also in WebKit.

With HTTPSlocal and Service Workers would be possible to have a fully working comunication in an offline environment with the browser, requiring the page to be loaded online only once (and maybe refreshed every X days).

Sorry for my poor knowledge, I just wanted to explain my personal use case and show my support. Thank you.

Use case: Configuring of IOT device with web interface

IOT devices like sensors and actuators are usually small microcontrollers with some kind of network connection. These devices needs to be setup for communication with some edge server.

This setup is mostly done with an internal webserver. This service can be enhanced with a web interface.

My particular case is an ESP32 microcontroller is controlling several buttons and displays. This device has many settings:

  • which MQTT server is used
  • what are the MQTT topics published
  • what MQTT topics are displayed on the display
  • many more

Also the firmware must be upgradable.

To update these settings a JSON object can be downloaded and uploaded which contains the settings. I created an React (javascript) web application which makes this user friendly. This application is hosted on a secure https domain. However, if you make http (no https) call to the ESP32 these call are blocked because they are 'Mixed content'. So the webserver on ESP32 must support https!

Collect relevant specs and drafts

In parallel with use cases and requirements clarification work, we would like to collect IETF standards and internet drafts relevant to local network services. Specs and drafts collected here can include but not limited to:

  • service discovery
  • certificates and PKI
  • local network architecture and domain name issue (like .local)
  • authentication and authorization
  • etc.

At this moment I haven't prepared any draft or template yet. Any forms of contributions and proposals are welcome.

@yoneyajp If time permits, could you facilitate this work?

LAN party

So this project is dead but like, what if there was a way to buy a game and when you run it it spawns a webserver and opens your browser. if other ppl in the LAN wanna join you can open to LAN and they don't need to buy the game separately they can just join.

All you need is unrestricted same-origin networking and WebGL. everything else can be removed. and because it's not a secure context, other websites wouldn't be able to access it either, so it's a win-win all around. (and proxying trophies and whatnot through the server is like, fine. it's the same LAN so who cares, it's not like it's gonna use more internet if you have data caps.)

Collect use cases

we would like to collect use cases where browsers communicate with web-server-capable via HTTP and/or WebSocket over TLS, for the purpose of clarifying network and security requirements. Summary of TPAC breakout session would be useful to understand why considering use of HTTPS/WSS seems to be necessary for devices in local network.

If you find another use case, please submit a Pull Request to add it to UseCases.md, or add your comment to this issue.

Clarify requirements

As a next step, I would like to start analyzing requirements. While the following items could be examples, I would like to ask you to add or modify them. Since these would be dependent on use cases, these items should be clarified per each use case.

  • Network environment: a local network and/or a global network
  • Certificate issuer: public CA / corporate or organizational CA / private CA
  • Privacy scope: public / per service or device manufacturer / private
  • ...etc.

@dajiaji Could you add an initial proposal, base on use cases indicated by you?

TTS/STT Use cases

Text-To-Speech (TTS)

While the Web Speech API does provide basic capability to communicate with the local speech dispatcher socket speechd some functionality is not available, including

  • SSML input
  • File input
  • File output

Speech-To-Text (STT)

Currently only Chrome, Chromium browsers implement STT. That functionality is based on recording the user voice (or other audio output) locally and sending that recording to a remote server, therefore, also some functionality is not available, including

  • Local STT processing
  • File input
  • File output

Current workarounds

TL;DR

Direct communication with one or more local TTS/STT applications and control of local audio input and output devices over HTTPS/WSS are the use cases descibed in this issue.

Can file a PR for this if necessary.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.