@1auth/authn-webauthn
Advanced tools
Comparing version 0.0.0-alpha.31 to 0.0.0-alpha.32
@@ -181,29 +181,2 @@ import { encrypt, decrypt } from '@1auth/crypto' | ||
username ??= 'username' | ||
/* console.log(username, userAuthenticators, { | ||
rpName: options.name, | ||
rpID: new URL(options.origin).hostname, | ||
userID: sub, | ||
userName: username, | ||
attestationType: 'none', | ||
excludeCredentials, | ||
// PassKey | ||
residentKey: 'required', | ||
userVerification: 'preferred' | ||
// extras? | ||
// timeout | ||
// pubKeyCredParams: [ | ||
// { | ||
// type: 'public-key', | ||
// alg: -8 // EdDSA | ||
// }, | ||
// { | ||
// type: 'public-key', | ||
// alg: -7 // ES256 | ||
// }, | ||
// { | ||
// type: 'public-key', | ||
// alg: -257 // RS256 | ||
// } | ||
// ] | ||
}) */ | ||
@@ -218,3 +191,3 @@ const clientOptions = await generateRegistrationOptions({ | ||
// PassKey | ||
residentKey: 'required', | ||
residentKey: 'discouraged', // https://fy.blackhats.net.au/blog/2023-02-02-how-hype-will-turn-your-security-key-into-junk/ | ||
userVerification: 'preferred' | ||
@@ -221,0 +194,0 @@ // extras? |
29
index.js
@@ -181,29 +181,2 @@ import { encrypt, decrypt } from '@1auth/crypto' | ||
username ??= 'username' | ||
/* console.log(username, userAuthenticators, { | ||
rpName: options.name, | ||
rpID: new URL(options.origin).hostname, | ||
userID: sub, | ||
userName: username, | ||
attestationType: 'none', | ||
excludeCredentials, | ||
// PassKey | ||
residentKey: 'required', | ||
userVerification: 'preferred' | ||
// extras? | ||
// timeout | ||
// pubKeyCredParams: [ | ||
// { | ||
// type: 'public-key', | ||
// alg: -8 // EdDSA | ||
// }, | ||
// { | ||
// type: 'public-key', | ||
// alg: -7 // ES256 | ||
// }, | ||
// { | ||
// type: 'public-key', | ||
// alg: -257 // RS256 | ||
// } | ||
// ] | ||
}) */ | ||
@@ -218,3 +191,3 @@ const clientOptions = await generateRegistrationOptions({ | ||
// PassKey | ||
residentKey: 'required', | ||
residentKey: 'discouraged', // https://fy.blackhats.net.au/blog/2023-02-02-how-hype-will-turn-your-security-key-into-junk/ | ||
userVerification: 'preferred' | ||
@@ -221,0 +194,0 @@ // extras? |
{ | ||
"name": "@1auth/authn-webauthn", | ||
"version": "0.0.0-alpha.31", | ||
"version": "0.0.0-alpha.32", | ||
"description": "", | ||
@@ -47,3 +47,3 @@ "type": "module", | ||
"homepage": "https://github.com/willfarrell/1auth", | ||
"gitHead": "246b0b521e6d136d8f37ee7d9781ffc8ccc987bd", | ||
"gitHead": "3750bef3d7e376c48f7d680e5f2181ee809213b9", | ||
"dependencies": { | ||
@@ -50,0 +50,0 @@ "@simplewebauthn/server": "10.0.0" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18302
516