diff --git a/keepassxc-browser/content/passkeys.js b/keepassxc-browser/content/passkeys.js index 6354532..e2e6217 100644 --- a/keepassxc-browser/content/passkeys.js +++ b/keepassxc-browser/content/passkeys.js @@ -77,7 +77,7 @@ attestationObject: kpxcBase64ToArrayBuffer(publicKey.response.attestationObject), clientDataJSON: kpxcBase64ToArrayBuffer(publicKey.response.clientDataJSON), getAuthenticatorData: () => kpxcBase64ToArrayBuffer(publicKey.response?.authenticatorData), - getPublicKey: () => null, + getPublicKey: () => publicKey.response?.publicKey ? publicKey.response?.publicKey : null, getPublicKeyAlgorithm: () => publicKey.response?.publicKeyAlgorithm, getTransports: () => [ 'internal' ] };