Skip to content

Commit

Permalink
Add reference to SPAKE2.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajiaji committed Sep 18, 2019
1 parent 1c92ab9 commit 947ee2c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
15 changes: 10 additions & 5 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,11 @@ should not be restricted only to mDNS ([[RFC6762]]).
### APPROACH-2: Using Shared Secret ### {#approach-2}

This approach is based on the user grant and the use of shared password in
which PAKE (e.g., dragonfly [[RFC7664]], J-PAKE [[RFC8236]]) is used for the establishment of
which PAKE (e.g., [[SPAKE2]], dragonfly [[RFC7664]], J-PAKE [[RFC8236]]) is used for the establishment of
a TLS session between the [=UA=] and the [=device=].

NOTE: It is worthwhile to mention that J-PAKE has already been implemented in [[MBED-TLS]]
and also the use of J-PAKE has been discussed in [[W3C-SECOND-SCREEN-WG]].
and the use of [[SPAKE2]] has been discussed in [[W3C-SECOND-SCREEN-WG]].

#### Device Access Flow #### {#approach-2-flow}

Expand All @@ -263,7 +263,7 @@ This approach can be realized on both of the access patterns mentioned in [[#tar
</div>

1. The UI will be displayed when the [=device=] URL has local domain name and the underlying TLS handshake
detects the [=device=] supports a PAKE-based cipher suite (e.g., [[RFC8492]], [[EC-JPAKE]], [[PAKE-WITH-TLS1.3]]).
detects the [=device=] supports a PAKE-based cipher suite (e.g., [[SPAKE2]], [[RFC8492]], [[EC-JPAKE]], [[PAKE-WITH-TLS1.3]]).
1. To make sure that the `device.local` displayed on the pop-up window is really
the same as the domain name of the [=device=] which the user intends to grant the access to,
user inserts either a PIN or password through the pop-up window.
Expand Down Expand Up @@ -327,7 +327,7 @@ fetch("https://device.local/stuff", {
#### Browser Requirements #### {#requirements-2}

The requirements for browsers can be summarized as follows:
- Support additional cipher suites for PAKE (e.g., [[RFC8492]], [[EC-JPAKE]], [[PAKE-WITH-TLS1.3]]).
- Support additional cipher suites for PAKE (e.g., [[SPAKE2]], [[RFC8492]], [[EC-JPAKE]], [[PAKE-WITH-TLS1.3]]).
- Implement the pop-up window for PIN/Password input.
- Support a method to distinguish [=devices=] which have the same names.
- Extend [[FETCH]] API to support the method to distinguish [=devices=] as demonstrated in this section.
Expand All @@ -336,7 +336,7 @@ The requirements for browsers can be summarized as follows:
#### Dependency on other SDOs #### {#dependency-2}

This approach will require work and collaboration with the IETF.
- Both [[EC-JPAKE]] and [[PAKE-WITH-TLS1.3]] were individual submissions and they are currently expired.
- [[SPAKE2]], [[EC-JPAKE]] and [[PAKE-WITH-TLS1.3]] were individual submissions and they are currently expired.
If W3C embraces this approach, the work needs to resumed and completed.
- A method to bind a private domain name to a PAKE-based TLS session needs to be specified and standardized.

Expand Down Expand Up @@ -658,6 +658,11 @@ a solution can be developed and standardized.
"href": "https://tools.ietf.org/html/draft-cragie-tls-ecjpake-01",
"title": "Elliptic Curve J-PAKE Cipher Suites"
},
"SPAKE2": {
"authors": ["W. Ladd", "B. Kaduk"],
"href": "https://tools.ietf.org/html/draft-irtf-cfrg-spake2-08",
"title": "SPAKE2, a PAKE"
},
"PAKE-WITH-TLS1.3": {
"authors": ["R. Barnes", "O. Friel"],
"href": "https://tools.ietf.org/html/draft-barnes-tls-pake-04",
Expand Down
14 changes: 8 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1214,7 +1214,7 @@
</style>
<meta content="Bikeshed version db559f98d6c99655936abc96647a0e88ba98a9cf" name="generator">
<link href="https://httpslocal.github.io/proposals/" rel="canonical">
<meta content="018e706f96796ac03bbacf6a41c73326dcc94414" name="document-revision">
<meta content="1c92ab98c049fdaeaa9a86def5ee88cf659815e9" name="document-revision">
<style>/* style-md-lists */

/* This is a weird hack for me not yet following the commonmark spec
Expand Down Expand Up @@ -1768,9 +1768,9 @@ <h3 class="heading settled" data-level="5.2" id="non-web-pki-approaches"><span c
should not be restricted only to mDNS (<a data-link-type="biblio" href="#biblio-rfc6762">[RFC6762]</a>).</p>
<h4 class="heading settled" data-level="5.2.1" id="approach-2"><span class="secno">5.2.1. </span><span class="content">APPROACH-2: Using Shared Secret</span><a class="self-link" href="#approach-2"></a></h4>
<p>This approach is based on the user grant and the use of shared password in
which PAKE (e.g., dragonfly <a data-link-type="biblio" href="#biblio-rfc7664">[RFC7664]</a>, J-PAKE <a data-link-type="biblio" href="#biblio-rfc8236">[RFC8236]</a>) is used for the establishment of
which PAKE (e.g., <a data-link-type="biblio" href="#biblio-spake2">[SPAKE2]</a>, dragonfly <a data-link-type="biblio" href="#biblio-rfc7664">[RFC7664]</a>, J-PAKE <a data-link-type="biblio" href="#biblio-rfc8236">[RFC8236]</a>) is used for the establishment of
a TLS session between the <a data-link-type="dfn" href="#ua" id="ref-for-ua①②">UA</a> and the <a data-link-type="dfn" href="#device" id="ref-for-device②③">device</a>.</p>
<p class="note" role="note"><span>NOTE:</span> It is worthwhile to mention that J-PAKE has already been implemented in <a data-link-type="biblio" href="#biblio-mbed-tls">[MBED-TLS]</a> and also the use of J-PAKE has been discussed in <a data-link-type="biblio" href="#biblio-w3c-second-screen-wg">[W3C-SECOND-SCREEN-WG]</a>.</p>
<p class="note" role="note"><span>NOTE:</span> It is worthwhile to mention that J-PAKE has already been implemented in <a data-link-type="biblio" href="#biblio-mbed-tls">[MBED-TLS]</a> and the use of <a data-link-type="biblio" href="#biblio-spake2">[SPAKE2]</a> has been discussed in <a data-link-type="biblio" href="#biblio-w3c-second-screen-wg">[W3C-SECOND-SCREEN-WG]</a>.</p>
<h5 class="heading settled" data-level="5.2.1.1" id="approach-2-flow"><span class="secno">5.2.1.1. </span><span class="content">Device Access Flow</span><a class="self-link" href="#approach-2-flow"></a></h5>
<p>This approach can be realized on both of the access patterns mentioned in <a href="#target-access-patterns">§3.3 Target Access Patterns</a>.</p>
<p><strong>Normal Access Pattern</strong></p>
Expand All @@ -1781,7 +1781,7 @@ <h5 class="heading settled" data-level="5.2.1.1" id="approach-2-flow"><span clas
<div align="center"> <img src="figs/fig_sol_2_1.png" width="480px"> </div>
<li data-md>
<p>The UI will be displayed when the <a data-link-type="dfn" href="#device" id="ref-for-device②⑤">device</a> URL has local domain name and the underlying TLS handshake
detects the <a data-link-type="dfn" href="#device" id="ref-for-device②⑥">device</a> supports a PAKE-based cipher suite (e.g., <a data-link-type="biblio" href="#biblio-rfc8492">[RFC8492]</a>, <a data-link-type="biblio" href="#biblio-ec-jpake">[EC-JPAKE]</a>, <a data-link-type="biblio" href="#biblio-pake-with-tls13">[PAKE-WITH-TLS1.3]</a>).</p>
detects the <a data-link-type="dfn" href="#device" id="ref-for-device②⑥">device</a> supports a PAKE-based cipher suite (e.g., <a data-link-type="biblio" href="#biblio-spake2">[SPAKE2]</a>, <a data-link-type="biblio" href="#biblio-rfc8492">[RFC8492]</a>, <a data-link-type="biblio" href="#biblio-ec-jpake">[EC-JPAKE]</a>, <a data-link-type="biblio" href="#biblio-pake-with-tls13">[PAKE-WITH-TLS1.3]</a>).</p>
<li data-md>
<p>To make sure that the <code>device.local</code> displayed on the pop-up window is really
the same as the domain name of the <a data-link-type="dfn" href="#device" id="ref-for-device②⑦">device</a> which the user intends to grant the access to,
Expand Down Expand Up @@ -1837,7 +1837,7 @@ <h5 class="heading settled" data-level="5.2.1.3" id="requirements-2"><span class
<p>The requirements for browsers can be summarized as follows:</p>
<ul>
<li data-md>
<p>Support additional cipher suites for PAKE (e.g., <a data-link-type="biblio" href="#biblio-rfc8492">[RFC8492]</a>, <a data-link-type="biblio" href="#biblio-ec-jpake">[EC-JPAKE]</a>, <a data-link-type="biblio" href="#biblio-pake-with-tls13">[PAKE-WITH-TLS1.3]</a>).</p>
<p>Support additional cipher suites for PAKE (e.g., <a data-link-type="biblio" href="#biblio-spake2">[SPAKE2]</a>, <a data-link-type="biblio" href="#biblio-rfc8492">[RFC8492]</a>, <a data-link-type="biblio" href="#biblio-ec-jpake">[EC-JPAKE]</a>, <a data-link-type="biblio" href="#biblio-pake-with-tls13">[PAKE-WITH-TLS1.3]</a>).</p>
<li data-md>
<p>Implement the pop-up window for PIN/Password input.</p>
<li data-md>
Expand All @@ -1851,7 +1851,7 @@ <h5 class="heading settled" data-level="5.2.1.4" id="dependency-2"><span class="
<p>This approach will require work and collaboration with the IETF.</p>
<ul>
<li data-md>
<p>Both <a data-link-type="biblio" href="#biblio-ec-jpake">[EC-JPAKE]</a> and <a data-link-type="biblio" href="#biblio-pake-with-tls13">[PAKE-WITH-TLS1.3]</a> were individual submissions and they are currently expired.
<p><a data-link-type="biblio" href="#biblio-spake2">[SPAKE2]</a>, <a data-link-type="biblio" href="#biblio-ec-jpake">[EC-JPAKE]</a> and <a data-link-type="biblio" href="#biblio-pake-with-tls13">[PAKE-WITH-TLS1.3]</a> were individual submissions and they are currently expired.
If W3C embraces this approach, the work needs to resumed and completed.</p>
<li data-md>
<p>A method to bind a private domain name to a PAKE-based TLS session needs to be specified and standardized.</p>
Expand Down Expand Up @@ -2322,6 +2322,8 @@ <h3 class="no-num no-ref heading settled" id="informative"><span class="content"
<dd>D. Harkins, Ed.. <a href="https://tools.ietf.org/html/rfc8492">Secure Password Ciphersuites for Transport Layer Security (TLS)</a>. February 2019. Informational. URL: <a href="https://tools.ietf.org/html/rfc8492">https://tools.ietf.org/html/rfc8492</a>
<dt id="biblio-secure-contexts">[SECURE-CONTEXTS]
<dd>Mike West. <a href="https://www.w3.org/TR/secure-contexts/">Secure Contexts</a>. 15 September 2016. CR. URL: <a href="https://www.w3.org/TR/secure-contexts/">https://www.w3.org/TR/secure-contexts/</a>
<dt id="biblio-spake2">[SPAKE2]
<dd>W. Ladd; B. Kaduk. <a href="https://tools.ietf.org/html/draft-irtf-cfrg-spake2-08">SPAKE2, a PAKE</a>. URL: <a href="https://tools.ietf.org/html/draft-irtf-cfrg-spake2-08">https://tools.ietf.org/html/draft-irtf-cfrg-spake2-08</a>
<dt id="biblio-tpac-2017-breakout-session">[TPAC-2017-breakout-session]
<dd><a href="https://www.w3.org/wiki/File:TPAC2017_httpslocal-2.pdf">How can we provide the devices with valid certificates?</a>. URL: <a href="https://www.w3.org/wiki/File:TPAC2017_httpslocal-2.pdf">https://www.w3.org/wiki/File:TPAC2017_httpslocal-2.pdf</a>
<dt id="biblio-uc-1">[UC-1]
Expand Down

0 comments on commit 947ee2c

Please sign in to comment.