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

Box discovery #3

Open
michielbdejong opened this issue Mar 3, 2016 · 4 comments
Open

Box discovery #3

michielbdejong opened this issue Mar 3, 2016 · 4 comments

Comments

@michielbdejong
Copy link
Contributor

We need to work out how the client discovers the Box.

Terminology:
Box: The box being developed in Project Link
QR: Use a QR-code on a sticker on the Box to tell the client which URL connect to
mDNS: The Box uses mDNS to tell the client its IP address and/or its full URL
HSS: The client checks the TLS certificate against the fingerprint in the trusted URL string
plex: A public DNS zone is used to announce the Box's local IP address
LE: LetsEncrypt is used to register/renew a TLS certificate for the public plex-like domain name
NUPNP: A server on which the Box can publish its local IP address so that the client can discover it
Cordova: A tool for packaging web apps a native apps, with plugins for adding custom functionality that is usually not available in browsers.
client: A smartphone, tablet, laptop, or TV.

Assumptions:

  • QR-codes work well on smartphones and tablets, but not on laptops and TVs
  • mDNS is supported by major browsers on iOS, OSX and Linux, but not (yet) on Android and Windows
  • we prefer a secure solution
  • we prefer a local solution (not leaking user data to the cloud)
  • we prefer a solution that uses standard mobile browsers (and standard mobile QR-code readers)
@michielbdejong
Copy link
Contributor Author

See #4, #5, #6.

@dhylands
Copy link

dhylands commented Mar 3, 2016

mDNS isn't supported by WIndows (out-of-the-box).
http://stackoverflow.com/questions/23624525/standard-mdns-service-on-windows

@michielbdejong
Copy link
Contributor Author

@dhylands ah thanks! Updated the assumption to 'mDNS is supported by major browsers on iOS, OSX and Linux, but not (yet) on Android and Windows'.

@michielbdejong
Copy link
Contributor Author

There has not been much discussion on this topic, and all proposals were from me. But there has been some discussion in person, on the mailing list, and on irc about my proposal to use a physical side-channel for establishing a secure connection between box and client without relying on wifi network security, and given the amount of resistance against it, I retracted it as a proposal for this project.

So the question is now: apart from my updated proposal #12 (which does not use QR codes or any other physical side-channel), do people have any other/alternative proposals we can discuss?

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

3 participants