diff --git a/.pnp.cjs b/.pnp.cjs index 48c6e4fb7..efd090a12 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -3960,26 +3960,26 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["@simplewebauthn/iso-webcrypto", [\ - ["npm:7.0.0", {\ - "packageLocation": "./.yarn/cache/@simplewebauthn-iso-webcrypto-npm-7.0.0-352babf4a0-c1644f9b68.zip/node_modules/@simplewebauthn/iso-webcrypto/",\ + ["npm:7.0.1", {\ + "packageLocation": "./.yarn/cache/@simplewebauthn-iso-webcrypto-npm-7.0.1-bae5f6738c-ed506490e0.zip/node_modules/@simplewebauthn/iso-webcrypto/",\ "packageDependencies": [\ - ["@simplewebauthn/iso-webcrypto", "npm:7.0.0"]\ + ["@simplewebauthn/iso-webcrypto", "npm:7.0.1"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@simplewebauthn/server", [\ - ["npm:7.0.0", {\ - "packageLocation": "./.yarn/cache/@simplewebauthn-server-npm-7.0.0-e34589f137-836eb9fb97.zip/node_modules/@simplewebauthn/server/",\ + ["npm:7.0.1", {\ + "packageLocation": "./.yarn/cache/@simplewebauthn-server-npm-7.0.1-ac81233d49-d11c708008.zip/node_modules/@simplewebauthn/server/",\ "packageDependencies": [\ - ["@simplewebauthn/server", "npm:7.0.0"],\ + ["@simplewebauthn/server", "npm:7.0.1"],\ ["@hexagon/base64", "npm:1.1.25"],\ ["@peculiar/asn1-android", "npm:2.3.3"],\ ["@peculiar/asn1-ecc", "npm:2.3.4"],\ ["@peculiar/asn1-rsa", "npm:2.3.4"],\ ["@peculiar/asn1-schema", "npm:2.3.3"],\ ["@peculiar/asn1-x509", "npm:2.3.4"],\ - ["@simplewebauthn/iso-webcrypto", "npm:7.0.0"],\ + ["@simplewebauthn/iso-webcrypto", "npm:7.0.1"],\ ["cbor-x", "npm:1.5.0"],\ ["cross-fetch", "npm:3.1.5"],\ ["debug", "virtual:b86a9fb34323a98c6519528ed55faa0d9b44ca8879307c0b29aa384bde47ff59a7d0c9051b31246f14521dfb71ba3c5d6d0b35c29fffc17bf875aa6ad977d9e8#npm:4.3.4"]\ @@ -4156,7 +4156,7 @@ const RAW_RUNTIME_STATE = ["@newrelic/winston-enricher", "virtual:c66bf20e88479ada0172094776519a9f51acc4731d22079b60a295bcec7ea42d5545cbce58a77a50d932bf953298799135e99707486e343da6d99ba1d167bdbd#npm:4.0.0"],\ ["@sentry/node", "npm:7.28.1"],\ ["@sentry/tracing", "npm:7.28.1"],\ - ["@simplewebauthn/server", "npm:7.0.0"],\ + ["@simplewebauthn/server", "npm:7.0.1"],\ ["@simplewebauthn/typescript-types", "npm:7.0.0"],\ ["@standardnotes/api", "npm:1.24.10"],\ ["@standardnotes/common", "workspace:packages/common"],\ diff --git a/.yarn/cache/@simplewebauthn-iso-webcrypto-npm-7.0.0-352babf4a0-c1644f9b68.zip b/.yarn/cache/@simplewebauthn-iso-webcrypto-npm-7.0.1-bae5f6738c-ed506490e0.zip similarity index 70% rename from .yarn/cache/@simplewebauthn-iso-webcrypto-npm-7.0.0-352babf4a0-c1644f9b68.zip rename to .yarn/cache/@simplewebauthn-iso-webcrypto-npm-7.0.1-bae5f6738c-ed506490e0.zip index 31d602f7d..180e984ef 100644 Binary files a/.yarn/cache/@simplewebauthn-iso-webcrypto-npm-7.0.0-352babf4a0-c1644f9b68.zip and b/.yarn/cache/@simplewebauthn-iso-webcrypto-npm-7.0.1-bae5f6738c-ed506490e0.zip differ diff --git a/.yarn/cache/@simplewebauthn-server-npm-7.0.0-e34589f137-836eb9fb97.zip b/.yarn/cache/@simplewebauthn-server-npm-7.0.1-ac81233d49-d11c708008.zip similarity index 93% rename from .yarn/cache/@simplewebauthn-server-npm-7.0.0-e34589f137-836eb9fb97.zip rename to .yarn/cache/@simplewebauthn-server-npm-7.0.1-ac81233d49-d11c708008.zip index b27cf5e22..5148fc6b0 100644 Binary files a/.yarn/cache/@simplewebauthn-server-npm-7.0.0-e34589f137-836eb9fb97.zip and b/.yarn/cache/@simplewebauthn-server-npm-7.0.1-ac81233d49-d11c708008.zip differ diff --git a/packages/auth/package.json b/packages/auth/package.json index 63ade08c0..d23177bd8 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -39,7 +39,7 @@ "@newrelic/winston-enricher": "^4.0.0", "@sentry/node": "^7.28.1", "@sentry/tracing": "^7.28.1", - "@simplewebauthn/server": "^7.0.0", + "@simplewebauthn/server": "^7.0.1", "@standardnotes/api": "^1.24.10", "@standardnotes/common": "workspace:*", "@standardnotes/domain-core": "workspace:^", diff --git a/packages/auth/src/Domain/UseCase/GenerateAuthenticatorAuthenticationOptions/GenerateAuthenticatorAuthenticationOptions.ts b/packages/auth/src/Domain/UseCase/GenerateAuthenticatorAuthenticationOptions/GenerateAuthenticatorAuthenticationOptions.ts index 21da7bd95..397a67b6a 100644 --- a/packages/auth/src/Domain/UseCase/GenerateAuthenticatorAuthenticationOptions/GenerateAuthenticatorAuthenticationOptions.ts +++ b/packages/auth/src/Domain/UseCase/GenerateAuthenticatorAuthenticationOptions/GenerateAuthenticatorAuthenticationOptions.ts @@ -38,7 +38,7 @@ export class GenerateAuthenticatorAuthenticationOptions implements UseCaseInterf transports: [], }, ], - userVerification: 'preferred', + userVerification: 'discouraged', }) return Result.ok(options) @@ -57,7 +57,7 @@ export class GenerateAuthenticatorAuthenticationOptions implements UseCaseInterf type: 'public-key', transports: authenticator.props.transports, })), - userVerification: 'preferred', + userVerification: 'discouraged', }) const authenticatorChallengeOrError = AuthenticatorChallenge.create({ diff --git a/yarn.lock b/yarn.lock index 497664159..ec613ce77 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2893,7 +2893,7 @@ __metadata: languageName: node linkType: hard -"@peculiar/asn1-android@npm:^2.1.7": +"@peculiar/asn1-android@npm:^2.3.3": version: 2.3.3 resolution: "@peculiar/asn1-android@npm:2.3.3" dependencies: @@ -2928,7 +2928,7 @@ __metadata: languageName: node linkType: hard -"@peculiar/asn1-schema@npm:^2.1.7, @peculiar/asn1-schema@npm:^2.3.3": +"@peculiar/asn1-schema@npm:^2.3.3": version: 2.3.3 resolution: "@peculiar/asn1-schema@npm:2.3.3" dependencies: @@ -2939,7 +2939,7 @@ __metadata: languageName: node linkType: hard -"@peculiar/asn1-x509@npm:^2.1.7, @peculiar/asn1-x509@npm:^2.3.4": +"@peculiar/asn1-x509@npm:^2.3.4": version: 2.3.4 resolution: "@peculiar/asn1-x509@npm:2.3.4" dependencies: @@ -3099,28 +3099,28 @@ __metadata: languageName: node linkType: hard -"@simplewebauthn/iso-webcrypto@npm:^7.0.0": - version: 7.0.0 - resolution: "@simplewebauthn/iso-webcrypto@npm:7.0.0" - checksum: c1644f9b68dafc0e4afc76e671a3a59f5b86b7f6846f4e947718b97e3656afbf2a6499f2dff4cfc0ca302cf81564755774505863c76798da61e3d5daae55a837 +"@simplewebauthn/iso-webcrypto@npm:^7.0.1": + version: 7.0.1 + resolution: "@simplewebauthn/iso-webcrypto@npm:7.0.1" + checksum: ed506490e0818e22b81e8bbe452ff1dc8d82e459a428bc046e8fd02257c574112900dea383c434a5ac7d9fb2e02e047dc409d7569d46f6c7eedb357b9973aa23 languageName: node linkType: hard -"@simplewebauthn/server@npm:^7.0.0": - version: 7.0.0 - resolution: "@simplewebauthn/server@npm:7.0.0" +"@simplewebauthn/server@npm:^7.0.1": + version: 7.0.1 + resolution: "@simplewebauthn/server@npm:7.0.1" dependencies: "@hexagon/base64": "npm:^1.1.25" - "@peculiar/asn1-android": "npm:^2.1.7" + "@peculiar/asn1-android": "npm:^2.3.3" "@peculiar/asn1-ecc": "npm:^2.3.4" "@peculiar/asn1-rsa": "npm:^2.3.4" - "@peculiar/asn1-schema": "npm:^2.1.7" - "@peculiar/asn1-x509": "npm:^2.1.7" - "@simplewebauthn/iso-webcrypto": "npm:^7.0.0" + "@peculiar/asn1-schema": "npm:^2.3.3" + "@peculiar/asn1-x509": "npm:^2.3.4" + "@simplewebauthn/iso-webcrypto": "npm:^7.0.1" cbor-x: "npm:^1.4.1" cross-fetch: "npm:^3.1.5" debug: "npm:^4.3.2" - checksum: 836eb9fb97961e01fdb5f1b2719b5be1d4f28abd5aa24081584c2209a071aa37146235621d1005ba4c8a585661e7fb1c134f041a0d1c123012b1f198757a7b28 + checksum: d11c708008845723f355624d309a476c32e4abcb3189ab477188583f41a618567852f027b71445d29e7a9ab36f4620e01a7bf334d0c8a01cf8fec4e0e8bdfcff languageName: node linkType: hard @@ -3277,7 +3277,7 @@ __metadata: "@newrelic/winston-enricher": "npm:^4.0.0" "@sentry/node": "npm:^7.28.1" "@sentry/tracing": "npm:^7.28.1" - "@simplewebauthn/server": "npm:^7.0.0" + "@simplewebauthn/server": "npm:^7.0.1" "@simplewebauthn/typescript-types": "npm:^7.0.0" "@standardnotes/api": "npm:^1.24.10" "@standardnotes/common": "workspace:*"