Skip to content

Commit 00f9c9b

Browse files
committed
MC-35119: U2F Key registration error in Chrome on Ubuntu
1 parent c062d18 commit 00f9c9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TwoFactorAuth/Model/Provider/Engine/U2fKey/WebAuthn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ public function getPublicKeyFromRegistrationData(array $data): array
298298
return [
299299
'key' => $attestationObject['attestationData']['keyBytes'],
300300
'id' => $credentialData['id'],
301-
'aaguid' => $attestationObject['attestationData']['aaguid'] ?? null
301+
'aaguid' => base64_encode($attestationObject['attestationData']['aaguid']) ?? null
302302
];
303303
}
304304

0 commit comments

Comments
 (0)