Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@1auth/authn-webauthn

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@1auth/authn-webauthn - npm Package Compare versions

Comparing version 0.0.0-alpha.31 to 0.0.0-alpha.32

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?

@@ -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?

4

package.json
{
"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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc