Closed Bug 1428916 Opened 8 years ago Closed 8 years ago

Web Authentication - Support Attestation Conveyance

Categories

(Core :: DOM: Device Interfaces, enhancement, P1)

enhancement

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
Blocks: 1430150
Update: Until Bug 1430150 lands, we should always follow the anonymization path in Bug 1416056. No need for a preference.
Doesn't really depend on Bug 1416056... I'll have a patch up shortly.
Assignee: nobody → jjones
Status: NEW → ASSIGNED
No longer depends on: 1416056
See Also: → 1416056
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+
Attachment #8944841 - Flags: review?(ttaubert) → review+
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
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: