Skip to content

Commit

Permalink
Attempt to address @selfissued's review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed Feb 6, 2018
1 parent 931b60a commit 7c09507
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2356,8 +2356,8 @@ When this operation is invoked, the [=authenticator=] MUST perform the following
decrypt it.
1. If any error occurred while creating the new credential object, return an error code equivalent to "{{UnknownError}}" and
terminate the operation.
1. Let |processedExtensions| be the result of [=authenticator extension processing=] [=map/for each=] supported <var
ignore>extensionId</var><var ignore>authenticatorExtensionInput</var> in |extensions|.
1. Let |processedExtensions| be the result of [=authenticator extension processing=] [=map/for each=] supported [=extension
identifier=][=authenticator extension input=] in |extensions|.
1. If the [=authenticator=] supports:
<dl class="switch">
: a per-[=RP ID=] [=signature counter=]
Expand Down Expand Up @@ -2431,8 +2431,8 @@ When this method is invoked, the [=authenticator=] MUST perform the following pr
If the user does not [=user consent|consent=], return an error code equivalent to
"{{NotAllowedError}}" and terminate the operation.

1. Let |processedExtensions| be the result of [=authenticator extension processing=] [=map/for each=] supported <var
ignore>extensionId</var><var ignore>authenticatorExtensionInput</var> in |extensions|.
1. Let |processedExtensions| be the result of [=authenticator extension processing=] [=map/for each=] supported [=extension
identifier=][=authenticator extension input=] in |extensions|.
1. Increment the [=RP ID=]-associated
[=signature counter=] or the global [=signature counter=] value, depending on
which approach is implemented by the [=authenticator=], by some positive value.
Expand Down Expand Up @@ -3618,10 +3618,9 @@ parameter of the [=authenticatorMakeCredential=] and [=authenticatorGetAssertion
[=CBOR=] map where each key is an [=extension identifier=] and the corresponding value is the [=authenticator extension input=]
for that extension.

Likewise, the <dfn>authenticator extension output</dfn> value of each processed [=authenticator extension=] is represented by one
key/value pair in [=authdataextensions|extensions=] part of the [=authenticator data=]. The [=authdataextensions|extensions=] part
of the [=authenticator data=] is a [=CBOR=] map where each key is an [=extension identifier=] and the corresponding value is the
[=authenticator extension output=] of that extension.
Likewise, the extension output is represented in the [=authdataextensions|extensions=] part of the [=authenticator data=]. The
[=authdataextensions|extensions=] part of the [=authenticator data=] is a CBOR map with [=CBOR=] [=extension identifiers=] as
keys, and the [=CBOR=] <dfn>authenticator extension output</dfn> value of each extension as the value.

For each supported extension, the [=authenticator extension processing=] rule for that extension is used create the
[=authenticator extension output=] from the [=authenticator extension input=] and possibly also other inputs.
Expand Down

0 comments on commit 7c09507

Please sign in to comment.