Skip to content

Commit da5601f

Browse files
committed
Merge branch 'master' into milestone/v14.0.0
2 parents 4deeccd + de9dec5 commit da5601f

5 files changed

Lines changed: 16 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## v13.3.1
4+
5+
**Changes:**
6+
7+
- **[server]** Fixed an issue with `verifyRegistrationResponse()` failing to verify some Packed and
8+
SafetyNet statements ([#767](https://github.com/MasterKale/SimpleWebAuthn/pull/767))
9+
310
## v13.3.0
411

512
**Changes:**

‎packages/server/deno.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@simplewebauthn/server",
3-
"version": "13.3.0",
3+
"version": "13.3.1",
44
"exports": {
55
".": "./src/index.ts",
66
"./helpers": "./src/helpers/index.ts"

‎packages/server/src/registration/verifications/verifyAttestationAndroidSafetyNet.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ export async function verifyAttestationAndroidSafetyNet(
148148
signature: signatureBuffer,
149149
data: signatureBaseBuffer,
150150
x509Certificate: leafCertBuffer,
151+
hashAlgorithm: alg,
151152
});
152153
/**
153154
* END Verify Signature

‎packages/server/src/registration/verifications/verifyAttestationPacked.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ export async function verifyAttestationPacked(
157157
signature: sig,
158158
data: signatureBase,
159159
x509Certificate: x5c[0],
160+
hashAlgorithm: alg,
160161
});
161162
} else {
162163
verified = await verifySignature({

‎packages/server/src/services/metadataService.e2e.test.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ import { assert } from '@std/assert';
22

33
import { BaseMetadataService } from './metadataService.ts';
44

5-
Deno.test('should be able to load from FIDO MDS and get statement for YubiKey 5', async () => {
5+
/**
6+
* This is a very expensive test to run as it involves live network traffic on each run, and can
7+
* fail CI when MDS is having a bad day. I'm going to ignore it for now but keep it around as a
8+
* good end-to-end test to have on-hand to run locally.
9+
*/
10+
Deno.test('should be able to load from FIDO MDS and get statement for YubiKey 5', { ignore: true }, async () => {
611
const service = new BaseMetadataService();
712

813
await service.initialize();

0 commit comments

Comments
 (0)