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

Discovery using leap-of-faith (no QR code), fixes #3 #6

Closed
wants to merge 2 commits into from

Conversation

michielbdejong
Copy link
Contributor

No description provided.

@michielbdejong michielbdejong mentioned this pull request Mar 3, 2016
@michielbdejong
Copy link
Contributor Author

I just realized that all laptop browsers support QR codes, thanks to https://webqr.com/.

So this flow is only useful for discovering the Box from a Smart TV or other device without a camera.

I'll close this rfc unless someone else thinks we shouldn't.

@michielbdejong
Copy link
Contributor Author

As discussed on irc with @gmarty and @ferjm, even if a device has a camera and the browser supports getUserMedia, nupnp saves the user one click during the setup process (at the cost of security from attackers impersonating your Box).

@ferjm
Copy link
Member

ferjm commented Mar 4, 2016

It is not just saving one click during the setup process. It is saving the user to fight getUserMedia UX:

http://www.tokbox.com/blog/opentok-js-change/
http://www.tokbox.com/blog/allowdeny-flow-removal/

@ferjm
Copy link
Member

ferjm commented Mar 4, 2016

Also

at the cost of security from attackers impersonating your Box

This can be mitigated asking the user to compare a code or image physically written in the box with something we show in the FTU flow.

@michielbdejong
Copy link
Contributor Author

It is saving the user to fight getUserMedia UX

Yes, that's the click I meant, sorry. It's an especially hard-to-find click. :) Interesting links!

@michielbdejong
Copy link
Contributor Author

This can be mitigated asking the user to compare a code or image physically written in the box with something we show in the FTU flow.

Yes, not foolproof, but that would definitely help. And it would be necessary anyway, in case >1 Boxes exist in the same building.

@michielbdejong
Copy link
Contributor Author

Retracting this proposal in favor of #12.

@@ -0,0 +1,38 @@

# Discovery using the cloud and leap-of-faith
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Can you describe quickly what you mean by "Leap of Faith"? Also, can you describe the purpose of this discovery?

This would make the document easier to understand for people like me who have been working on something entirely disconnected.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right! Good points. "leap of faith" refers to "trust on first use" - when the client first connects to what it hopes is the box, it has no evidence that this host actually is the box it's looking for, except for the fact that it's the only visible candidate. See e.g. https://www.ietf.org/mail-archive/web/btns/current/msg00789.html. It's also how ssh establishes trust.

The purpose of this discovery is for the client (e.g. the smartphone of the user) to connect to the foxbox. This includes:

  • discovering an IP address on which to reach the foxbox
  • discovering the TLS server certificate of the foxbox
  • possibly exchanging (password) credentials for a session (access) token

michielbdejong added a commit that referenced this pull request Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants