Skip to content

Commit 3232401

Browse files
authored
Merge pull request #14 from msirringhaus/transport
Fix #12: Implement proper support for transport and attachment
2 parents 538e0a7 + 2cab0c7 commit 3232401

5 files changed

Lines changed: 670 additions & 347 deletions

File tree

webext/add-on/content.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ async function cloneCredentialResponse(credential) {
3535
const obj = {}
3636
obj.id = credential.id;
3737
obj.rawId = cloneInto(Uint8Array.fromBase64(credential.rawId, options), obj)
38-
// TODO: get authenticator attachment
39-
obj.authenticatorAttachment = undefined
38+
obj.authenticatorAttachment = credential.authenticatorAttachment;
4039
const response = {}
4140
// credential registration response
4241
if (credential.response.attestationObject) {

0 commit comments

Comments
 (0)