Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Issue 2533863002: Add WebAuthn bindings and client interface. (Closed)

Created:
4 years ago by kpaulhamus
Modified:
3 years, 11 months ago
CC:
abarth-chromium, aczeskis, blink-reviews, chromium-reviews, juanlang (chromium.org)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add WebAuthn bindings and client interface. This CL adds the WebAuthn bindings and interface to support WebAuthentication.makeCredential and WebAuthentication.getAssertion. The draft spec is here: https://w3c.github.io/webauthn/ The interface is likely to change as the spec matures. We're tracking the comments and suggestions from this review via issues opened with the working group: https://github.com/w3c/webauthn/issues/310 https://github.com/w3c/webauthn/issues/311 https://github.com/w3c/webauthn/issues/312 https://github.com/w3c/webauthn/issues/313 This patch also proactively implements the change to WebAuthnAttestation suggested here: https://github.com/w3c/webauthn/issues/244 BUG=664630 Review-Url: https://codereview.chromium.org/2533863002 Cr-Commit-Position: refs/heads/master@{#445239} Committed: https://chromium.googlesource.com/chromium/src/+/8d43296f5c9c5c7f5f362ea599881fbd28df4898

Patch Set 1 #

Total comments: 19

Patch Set 2 : Renaming directory webauth and removing OWNERS file #

Patch Set 3 : Changed attestation from "any" to "ArrayBuffer" #

Patch Set 4 : Renaming Account and ClientData, WebAuthn -> Authentication, and removing WebAuthnAttestation #

Patch Set 5 : Updating build file #

Patch Set 6 : Rebaselining LayoutTests #

Patch Set 7 : Rebasing and resolving LayoutTest conflicts. #

Patch Set 8 : Updating layout tests #

Total comments: 10

Patch Set 9 : Fixing nits and renamed AssertionOptions #

Patch Set 10 : Layout test expected file tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+568 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/external/wpt/html/browsers/origin/cross-origin-objects/cross-origin-objects-exceptions-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 4 chunks +23 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 3 4 5 6 7 8 9 4 chunks +26 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticationAssertion.h View 1 2 3 1 chunk +62 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticationAssertion.idl View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticationAssertionOptions.idl View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticationClientData.idl View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/AuthenticationExtensions.idl View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/BUILD.gn View 1 2 3 4 1 chunk +21 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/DEPS View 1 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/NavigatorAuth.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/NavigatorAuth.cpp View 1 1 chunk +44 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/NavigatorAuth.idl View 1 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/RelyingPartyAccount.idl View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/ScopedCredential.h View 1 2 3 4 5 6 7 8 1 chunk +54 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/ScopedCredential.idl View 1 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/ScopedCredentialDescriptor.idl View 1 2 3 4 5 6 7 8 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/ScopedCredentialInfo.h View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/ScopedCredentialInfo.idl View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/ScopedCredentialOptions.idl View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/ScopedCredentialParameters.idl View 1 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/WebAuthentication.h View 1 2 3 4 5 6 7 8 1 chunk +59 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/WebAuthentication.cpp View 1 2 3 4 5 6 7 8 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/webauth/WebAuthentication.idl View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 76 (57 generated)
kpaulhamus
4 years ago (2016-11-28 18:28:55 UTC) #2
haraken
Can we add tests? Also it would be nicer if you could split the giant ...
4 years ago (2016-11-29 02:07:10 UTC) #3
blink-reviews
This is part 1 of many CLs, and I held off on tests to keep ...
4 years ago (2016-11-29 02:25:01 UTC) #4
chromium-reviews
This is part 1 of many CLs, and I held off on tests to keep ...
4 years ago (2016-11-29 02:25:01 UTC) #5
esprehn
This api needs a review. Prefixing an api with "Web" is very unusual, I think ...
4 years ago (2016-11-29 06:00:49 UTC) #6
Mike West
I agree with Elliot's suggestions. The naming here is weird, `WebAuthn` in particular. We don't ...
4 years ago (2016-11-29 06:30:16 UTC) #7
kpaulhamus
On 2016/11/29 06:00:49, esprehn wrote: > This api needs a review. Prefixing an api with ...
4 years ago (2016-11-29 22:30:45 UTC) #8
kpaulhamus
https://codereview.chromium.org/2533863002/diff/1/third_party/WebKit/Source/modules/webauthentication/NavigatorAuth.idl File third_party/WebKit/Source/modules/webauthentication/NavigatorAuth.idl (right): https://codereview.chromium.org/2533863002/diff/1/third_party/WebKit/Source/modules/webauthentication/NavigatorAuth.idl#newcode8 third_party/WebKit/Source/modules/webauthentication/NavigatorAuth.idl:8: [RuntimeEnabled=WebAuthentication] readonly attribute WebAuthentication authentication; On 2016/11/29 06:00:49, esprehn ...
4 years ago (2016-12-01 21:44:52 UTC) #9
esprehn
I meant keep the Web prefix on the directories. We don't prefix the interfaces we ...
4 years ago (2016-12-01 21:55:36 UTC) #10
kpaulhamus
4 years ago (2016-12-16 21:11:28 UTC) #11
kpaulhamus
All right, I've raised the comments about naming and scoping to the working group. I've ...
4 years ago (2016-12-17 00:12:39 UTC) #14
kpaulhamus
Turns out I do have try jobs access. I'm getting failures, although I'm really not ...
4 years ago (2016-12-20 19:17:00 UTC) #24
kpaulhamus
Hi Elliott, Mike, I made changes based on the latest activity in the working group ...
3 years, 11 months ago (2017-01-09 23:25:02 UTC) #31
esprehn
lgtm w/ some nits. For future API review you should get ikilpatrick@ who's the lead ...
3 years, 11 months ago (2017-01-19 01:59:00 UTC) #46
kpaulhamus
https://codereview.chromium.org/2533863002/diff/1/third_party/WebKit/Source/modules/webauthentication/OWNERS File third_party/WebKit/Source/modules/webauthentication/OWNERS (right): https://codereview.chromium.org/2533863002/diff/1/third_party/WebKit/Source/modules/webauthentication/OWNERS#newcode1 third_party/WebKit/Source/modules/webauthentication/OWNERS:1: kpaulhamus@chromium.org On 2017/01/19 01:58:59, esprehn wrote: > Lets not ...
3 years, 11 months ago (2017-01-19 23:25:35 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2533863002/160001
3 years, 11 months ago (2017-01-19 23:28:36 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/139045) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2017-01-19 23:31:53 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2533863002/180001
3 years, 11 months ago (2017-01-21 01:15:22 UTC) #73
commit-bot: I haz the power
3 years, 11 months ago (2017-01-21 01:25:24 UTC) #76
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/8d43296f5c9c5c7f5f362ea59988...

Powered by Google App Engine
This is Rietveld 408576698