diff options
author | Eiji Kitamura <agektmr@google.com> | 2022-07-22 15:44:32 +0900 |
---|---|---|
committer | Eiji Kitamura <agektmr@google.com> | 2022-07-22 15:44:32 +0900 |
commit | 8cc0d0c9fe9c0e5c978d2a09eb17c4760481ec3f (patch) | |
tree | 93e29d5f8b872aee04a5022891730803bb36e0c0 /packages/server/src/authentication/verifyAuthenticationResponse.test.ts | |
parent | 53dd14e4dc21b1d97224f6b8b5f36285ed72283a (diff) |
Fix for #230
- Change `extensions` to `extensionsData` and add `extensionsDataBuffer`
Diffstat (limited to 'packages/server/src/authentication/verifyAuthenticationResponse.test.ts')
-rw-r--r-- | packages/server/src/authentication/verifyAuthenticationResponse.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/authentication/verifyAuthenticationResponse.test.ts b/packages/server/src/authentication/verifyAuthenticationResponse.test.ts index 5e9d0c1..96cc4b5 100644 --- a/packages/server/src/authentication/verifyAuthenticationResponse.test.ts +++ b/packages/server/src/authentication/verifyAuthenticationResponse.test.ts @@ -336,7 +336,7 @@ test('should return authenticator extension output', async () => { } }); - expect(verification.authenticationInfo?.extensions).toMatchObject({ + expect(verification.authenticationInfo?.extensionsData).toMatchObject({ 'devicePublicKey': { 'dpk': Buffer.from('A5010203262001215820991AABED9DE4271A9EDEAD8806F9DC96D6DCCD0C476253A5510489EC8379BE5B225820A0973CFDEDBB79E27FEF4EE7481673FB3312504DDCA5434CFD23431D6AD29EDA', 'hex'), 'sig': Buffer.from('3045022049526CD28AEF6B4E621A7D5936D2B504952FC0AE2313A4F0357AAFFFAEA964740221009D513ACAEFB0B32C765AAE6FEBA8C294685EFF63FF1CBF11ECF2107AF4FEB8F8', 'hex'), |