Closed
Bug 1428916
Opened 8 years ago
Closed 8 years ago
Web Authentication - Support Attestation Conveyance
Categories
(Core :: DOM: Device Interfaces, enhancement, P1)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: jcj, Assigned: jcj)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [webauthn][webauthn-wd07])
Attachments
(1 file)
WebAuthn now has an enumeration to indicate whether to request direct, indirect, or no attestation. This would indicate whether the RP feels they require the raw attestation certificate from the security token.
If they don't specify "direct", we should always take the path provided in Bug 1416056. (We have no plans to support "indirect" at this time.)
If they do specify "direct", then we should obey the preference from Bug 1416056. This enumeration is only advisory in nature, so if we disobey and replace the attestation cert anyway, the worst that can happen is the RP rejects it.
[1] https://www.w3.org/TR/webauthn/#attestation-convey
Assignee | ||
Comment 1•8 years ago
|
||
Update:
Until Bug 1430150 lands, we should always follow the anonymization path in Bug 1416056. No need for a preference.
Assignee | ||
Comment 2•8 years ago
|
||
Doesn't really depend on Bug 1416056... I'll have a patch up shortly.
Comment hidden (mozreview-request) |
Comment 4•8 years ago
|
||
mozreview-review |
Comment on attachment 8944841 [details]
Bug 1428916 - WebAuthn: Draft Attestation Preference
https://reviewboard.mozilla.org/r/215002/#review220638
r+ for the .webidl
::: dom/webauthn/WebAuthnManager.cpp:383
(Diff revision 1)
> // TODO: Add extension list building
> nsTArray<WebAuthnExtension> extensions;
>
> const auto& selection = aOptions.mAuthenticatorSelection;
> const auto& attachment = selection.mAuthenticatorAttachment;
> + const auto& attestation = aOptions.mAttestation;
FWIW, I'd prefer to not use auto here, since the type of the variable isn't clear to the reader here.
Attachment #8944841 -
Flags: review?(bugs) → review+
Comment hidden (mozreview-request) |
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8944841 [details]
Bug 1428916 - WebAuthn: Draft Attestation Preference
https://reviewboard.mozilla.org/r/215002/#review220666
Attachment #8944841 -
Flags: review?(ttaubert) → review+
Comment hidden (mozreview-request) |
Assignee | ||
Comment 8•8 years ago
|
||
Try is good: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3e920d62e99b
Checkin-needed; thanks Olli & Tim!
Keywords: checkin-needed
Pushed by mozilla@noorenberghe.ca:
https://hg.mozilla.org/integration/autoland/rev/c2e41df3f41f
WebAuthn: Draft Attestation Preference r=smaug,ttaubert
Keywords: checkin-needed
Comment 10•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Updated•8 years ago
|
status-firefox59:
affected → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•