@magic-ext/webauthn 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../src/index.ts", "../../src/utils/webauthn.js"],
|
|
4
|
-
"sourcesContent": ["import { Extension } from '@magic-sdk/commons';\nimport {\n RegisterNewUserConfiguration,\n LoginWithWebAuthnConfiguration,\n MagicWebAuthnPayloadMethod,\n WebAuthnSDKErrorCode,\n UpdateWebAuthnInfoConfiguration,\n} from './types';\nimport { transformAssertionForServer, transformNewAssertionForServer } from './utils/webauthn.js';\n\nexport class WebAuthnExtension extends Extension.Internal<'webauthn', any> {\n name = 'webauthn' as const;\n config: any = {};\n\n private createWebAuthnNotSupportError() {\n this.createError(WebAuthnSDKErrorCode.WebAuthnNotSupported, 'WebAuthn is not supported in this device.', {});\n }\n\n private createWebAuthCreateCredentialError(message: string) {\n this.createError(WebAuthnSDKErrorCode.WebAuthnCreateCredentialError, `Error creating credential: ${message}`, {});\n }\n\n public async registerNewUser(configuration: RegisterNewUserConfiguration) {\n if (!window.PublicKeyCredential) {\n throw this.createWebAuthnNotSupportError();\n }\n const { username, nickname = '' } = configuration;\n\n const options = await this.request<any>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.WebAuthnRegistrationStart, [{ username }]),\n );\n\n let credential;\n try {\n credential = (await navigator.credentials.create({\n publicKey: options.credential_options,\n })) as any;\n } catch (err: any) {\n throw this.createWebAuthCreateCredentialError(err);\n }\n\n return this.request<string | null>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.RegisterWithWebAuth, [\n {\n id: options.id,\n nickname,\n transport: credential.response.getTransports(),\n user_agent: navigator.userAgent,\n registration_response: transformNewAssertionForServer(credential),\n },\n ]),\n );\n }\n\n public async login(configuration: LoginWithWebAuthnConfiguration) {\n if (!window.PublicKeyCredential) {\n throw this.createWebAuthnNotSupportError();\n }\n const { username } = configuration;\n\n const transformedCredentialRequestOptions = await this.request<any>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.LoginWithWebAuthn, [{ username }]),\n );\n\n let assertion;\n try {\n assertion = (await navigator.credentials.get({\n publicKey: transformedCredentialRequestOptions,\n })) as any;\n } catch (err: any) {\n throw this.createWebAuthCreateCredentialError(err);\n }\n\n return this.request<string | null>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.WebAuthnLoginVerify, [\n {\n username,\n assertion_response: transformAssertionForServer(assertion),\n },\n ]),\n );\n }\n\n public updateInfo(configuration: UpdateWebAuthnInfoConfiguration) {\n const { id, nickname } = configuration;\n const requestPayload = this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.UpdateWebAuthnInfo, [\n {\n webAuthnCredentialsId: id,\n nickname,\n },\n ]);\n return this.request<any[]>(requestPayload);\n }\n\n public unregisterDevice(id: string) {\n const requestPayload = this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.UnregisterWebAuthDevice, [\n {\n webAuthnCredentialsId: id,\n },\n ]);\n\n return this.request<any>(requestPayload);\n }\n\n public async registerNewDevice(nickname = '') {\n if (!window.PublicKeyCredential) {\n throw this.createWebAuthnNotSupportError();\n }\n const options = await this.request<any>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.RegisterWebAuthDeviceStart, []),\n );\n\n let credential;\n try {\n credential = (await navigator.credentials.create({\n publicKey: options.credential_options,\n })) as any;\n } catch (err: any) {\n throw this.createWebAuthCreateCredentialError(err);\n }\n\n return this.request<string | null>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.RegisterWebAuthDevice, [\n {\n nickname,\n transport: credential.response.getTransports(),\n user_agent: navigator.userAgent,\n registration_response: transformNewAssertionForServer(credential),\n },\n ]),\n );\n }\n\n public getMetadata() {\n const requestPayload = this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.GetWebAuthnInfo, []);\n return this.request<any[]>(requestPayload);\n }\n}\n", "const lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n/* eslint-disable */\n/* istanbul ignore next */\nfunction fromByteArray(uint8) {\n let i;\n const extraBytes = uint8.length % 3; // if we have 1 byte left, pad 2 bytes\n let output = '';\n let temp;\n let length;\n\n function encode(num) {\n return lookup.charAt(num);\n }\n\n function tripletToBase64(num) {\n return encode((num >> 18) & 0x3f) + encode((num >> 12) & 0x3f) + encode((num >> 6) & 0x3f) + encode(num & 0x3f);\n }\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (i = 0, length = uint8.length - extraBytes; i < length; i += 3) {\n temp = (uint8[i] << 16) + (uint8[i + 1] << 8) + uint8[i + 2];\n output += tripletToBase64(temp);\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n switch (extraBytes) {\n case 1:\n temp = uint8[uint8.length - 1];\n output += encode(temp >> 2);\n output += encode((temp << 4) & 0x3f);\n output += '==';\n break;\n case 2:\n temp = (uint8[uint8.length - 2] << 8) + uint8[uint8.length - 1];\n output += encode(temp >> 10);\n output += encode((temp >> 4) & 0x3f);\n output += encode((temp << 2) & 0x3f);\n output += '=';\n break;\n default:\n break;\n }\n\n return output;\n}\n\n/* istanbul ignore next */\nfunction b64enc(buf) {\n return fromByteArray(buf).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=/g, '');\n}\n\n/* istanbul ignore next */\nfunction b64RawEnc(buf) {\n return fromByteArray(buf).replace(/\\+/g, '-').replace(/\\//g, '_');\n}\n\n/* istanbul ignore next */\nfunction hexEncode(buf) {\n return Array.from(buf)\n .map(function (x) {\n return `0${x.toString(16)}`.substr(-2);\n })\n .join('');\n}\n\n/**\n * Transforms the binary data in the credential into base64 strings\n * for posting to the server.\n * @param {PublicKeyCredential} newAssertion\n */\n/* istanbul ignore next */\nexport const transformNewAssertionForServer = (newAssertion) => {\n const attObj = new Uint8Array(newAssertion.response.attestationObject);\n const clientDataJSON = new Uint8Array(newAssertion.response.clientDataJSON);\n const rawId = new Uint8Array(newAssertion.rawId);\n\n const registrationClientExtensions = newAssertion.getClientExtensionResults();\n\n return {\n id: newAssertion.id,\n rawId: b64enc(rawId),\n type: newAssertion.type,\n attObj: b64enc(attObj),\n clientData: b64enc(clientDataJSON),\n registrationClientExtensions: JSON.stringify(registrationClientExtensions),\n };\n};\n\n/**\n * Encodes the binary data in the assertion into strings for posting to the server.\n * @param {PublicKeyCredential} newAssertion\n */\n/* istanbul ignore next */\nexport const transformAssertionForServer = (newAssertion) => {\n const authData = new Uint8Array(newAssertion.response.authenticatorData);\n const clientDataJSON = new Uint8Array(newAssertion.response.clientDataJSON);\n const rawId = new Uint8Array(newAssertion.rawId);\n const sig = new Uint8Array(newAssertion.response.signature);\n const assertionClientExtensions = newAssertion.getClientExtensionResults();\n\n return {\n id: newAssertion.id,\n rawId: b64enc(rawId),\n type: newAssertion.type,\n authData: b64RawEnc(authData),\n clientData: b64RawEnc(clientDataJSON),\n signature: hexEncode(sig),\n assertionClientExtensions: JSON.stringify(assertionClientExtensions),\n };\n};\n"],
|
|
5
|
-
"mappings": "2tBAAA,
|
|
3
|
+
"sources": ["../../src/index.native.ts", "../../src/index.ts", "../../src/utils/webauthn.js"],
|
|
4
|
+
"sourcesContent": ["export * from './index';\n", "import { Extension } from '@magic-sdk/commons';\nimport {\n RegisterNewUserConfiguration,\n LoginWithWebAuthnConfiguration,\n MagicWebAuthnPayloadMethod,\n WebAuthnSDKErrorCode,\n UpdateWebAuthnInfoConfiguration,\n} from './types';\nimport { transformAssertionForServer, transformNewAssertionForServer } from './utils/webauthn.js';\n\nexport class WebAuthnExtension extends Extension.Internal<'webauthn', any> {\n name = 'webauthn' as const;\n config: any = {};\n\n private createWebAuthnNotSupportError() {\n this.createError(WebAuthnSDKErrorCode.WebAuthnNotSupported, 'WebAuthn is not supported in this device.', {});\n }\n\n private createWebAuthCreateCredentialError(message: string) {\n this.createError(WebAuthnSDKErrorCode.WebAuthnCreateCredentialError, `Error creating credential: ${message}`, {});\n }\n\n public async registerNewUser(configuration: RegisterNewUserConfiguration) {\n if (!window.PublicKeyCredential) {\n throw this.createWebAuthnNotSupportError();\n }\n const { username, nickname = '' } = configuration;\n\n const options = await this.request<any>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.WebAuthnRegistrationStart, [{ username }]),\n );\n\n let credential;\n try {\n credential = (await navigator.credentials.create({\n publicKey: options.credential_options,\n })) as any;\n } catch (err: any) {\n throw this.createWebAuthCreateCredentialError(err);\n }\n\n return this.request<string | null>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.RegisterWithWebAuth, [\n {\n id: options.id,\n nickname,\n transport: credential.response.getTransports(),\n user_agent: navigator.userAgent,\n registration_response: transformNewAssertionForServer(credential),\n },\n ]),\n );\n }\n\n public async login(configuration: LoginWithWebAuthnConfiguration) {\n if (!window.PublicKeyCredential) {\n throw this.createWebAuthnNotSupportError();\n }\n const { username } = configuration;\n\n const transformedCredentialRequestOptions = await this.request<any>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.LoginWithWebAuthn, [{ username }]),\n );\n\n let assertion;\n try {\n assertion = (await navigator.credentials.get({\n publicKey: transformedCredentialRequestOptions,\n })) as any;\n } catch (err: any) {\n throw this.createWebAuthCreateCredentialError(err);\n }\n\n return this.request<string | null>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.WebAuthnLoginVerify, [\n {\n username,\n assertion_response: transformAssertionForServer(assertion),\n },\n ]),\n );\n }\n\n public updateInfo(configuration: UpdateWebAuthnInfoConfiguration) {\n const { id, nickname } = configuration;\n const requestPayload = this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.UpdateWebAuthnInfo, [\n {\n webAuthnCredentialsId: id,\n nickname,\n },\n ]);\n return this.request<any[]>(requestPayload);\n }\n\n public unregisterDevice(id: string) {\n const requestPayload = this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.UnregisterWebAuthDevice, [\n {\n webAuthnCredentialsId: id,\n },\n ]);\n\n return this.request<any>(requestPayload);\n }\n\n public async registerNewDevice(nickname = '') {\n if (!window.PublicKeyCredential) {\n throw this.createWebAuthnNotSupportError();\n }\n const options = await this.request<any>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.RegisterWebAuthDeviceStart, []),\n );\n\n let credential;\n try {\n credential = (await navigator.credentials.create({\n publicKey: options.credential_options,\n })) as any;\n } catch (err: any) {\n throw this.createWebAuthCreateCredentialError(err);\n }\n\n return this.request<string | null>(\n this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.RegisterWebAuthDevice, [\n {\n nickname,\n transport: credential.response.getTransports(),\n user_agent: navigator.userAgent,\n registration_response: transformNewAssertionForServer(credential),\n },\n ]),\n );\n }\n\n public getMetadata() {\n const requestPayload = this.utils.createJsonRpcRequestPayload(MagicWebAuthnPayloadMethod.GetWebAuthnInfo, []);\n return this.request<any[]>(requestPayload);\n }\n}\n", "const lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n/* eslint-disable */\n/* istanbul ignore next */\nfunction fromByteArray(uint8) {\n let i;\n const extraBytes = uint8.length % 3; // if we have 1 byte left, pad 2 bytes\n let output = '';\n let temp;\n let length;\n\n function encode(num) {\n return lookup.charAt(num);\n }\n\n function tripletToBase64(num) {\n return encode((num >> 18) & 0x3f) + encode((num >> 12) & 0x3f) + encode((num >> 6) & 0x3f) + encode(num & 0x3f);\n }\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (i = 0, length = uint8.length - extraBytes; i < length; i += 3) {\n temp = (uint8[i] << 16) + (uint8[i + 1] << 8) + uint8[i + 2];\n output += tripletToBase64(temp);\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n switch (extraBytes) {\n case 1:\n temp = uint8[uint8.length - 1];\n output += encode(temp >> 2);\n output += encode((temp << 4) & 0x3f);\n output += '==';\n break;\n case 2:\n temp = (uint8[uint8.length - 2] << 8) + uint8[uint8.length - 1];\n output += encode(temp >> 10);\n output += encode((temp >> 4) & 0x3f);\n output += encode((temp << 2) & 0x3f);\n output += '=';\n break;\n default:\n break;\n }\n\n return output;\n}\n\n/* istanbul ignore next */\nfunction b64enc(buf) {\n return fromByteArray(buf).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=/g, '');\n}\n\n/* istanbul ignore next */\nfunction b64RawEnc(buf) {\n return fromByteArray(buf).replace(/\\+/g, '-').replace(/\\//g, '_');\n}\n\n/* istanbul ignore next */\nfunction hexEncode(buf) {\n return Array.from(buf)\n .map(function (x) {\n return `0${x.toString(16)}`.substr(-2);\n })\n .join('');\n}\n\n/**\n * Transforms the binary data in the credential into base64 strings\n * for posting to the server.\n * @param {PublicKeyCredential} newAssertion\n */\n/* istanbul ignore next */\nexport const transformNewAssertionForServer = (newAssertion) => {\n const attObj = new Uint8Array(newAssertion.response.attestationObject);\n const clientDataJSON = new Uint8Array(newAssertion.response.clientDataJSON);\n const rawId = new Uint8Array(newAssertion.rawId);\n\n const registrationClientExtensions = newAssertion.getClientExtensionResults();\n\n return {\n id: newAssertion.id,\n rawId: b64enc(rawId),\n type: newAssertion.type,\n attObj: b64enc(attObj),\n clientData: b64enc(clientDataJSON),\n registrationClientExtensions: JSON.stringify(registrationClientExtensions),\n };\n};\n\n/**\n * Encodes the binary data in the assertion into strings for posting to the server.\n * @param {PublicKeyCredential} newAssertion\n */\n/* istanbul ignore next */\nexport const transformAssertionForServer = (newAssertion) => {\n const authData = new Uint8Array(newAssertion.response.authenticatorData);\n const clientDataJSON = new Uint8Array(newAssertion.response.clientDataJSON);\n const rawId = new Uint8Array(newAssertion.rawId);\n const sig = new Uint8Array(newAssertion.response.signature);\n const assertionClientExtensions = newAssertion.getClientExtensionResults();\n\n return {\n id: newAssertion.id,\n rawId: b64enc(rawId),\n type: newAssertion.type,\n authData: b64RawEnc(authData),\n clientData: b64RawEnc(clientDataJSON),\n signature: hexEncode(sig),\n assertionClientExtensions: JSON.stringify(assertionClientExtensions),\n };\n};\n"],
|
|
5
|
+
"mappings": "2tBAAA,wCCAA,MAA0B,8BCA1B,GAAM,GAAS,mEAGf,WAAuB,EAAO,CAC5B,GAAI,GACE,EAAa,EAAM,OAAS,EAC9B,EAAS,GACT,EACA,EAEJ,WAAgB,EAAK,CACnB,MAAO,GAAO,OAAO,GAGvB,WAAyB,EAAK,CAC5B,MAAO,GAAQ,GAAO,GAAM,IAAQ,EAAQ,GAAO,GAAM,IAAQ,EAAQ,GAAO,EAAK,IAAQ,EAAO,EAAM,IAI5G,IAAK,EAAI,EAAG,EAAS,EAAM,OAAS,EAAY,EAAI,EAAQ,GAAK,EAC/D,EAAQ,GAAM,IAAM,IAAO,GAAM,EAAI,IAAM,GAAK,EAAM,EAAI,GAC1D,GAAU,EAAgB,GAI5B,OAAQ,OACD,GACH,EAAO,EAAM,EAAM,OAAS,GAC5B,GAAU,EAAO,GAAQ,GACzB,GAAU,EAAQ,GAAQ,EAAK,IAC/B,GAAU,KACV,UACG,GACH,EAAQ,GAAM,EAAM,OAAS,IAAM,GAAK,EAAM,EAAM,OAAS,GAC7D,GAAU,EAAO,GAAQ,IACzB,GAAU,EAAQ,GAAQ,EAAK,IAC/B,GAAU,EAAQ,GAAQ,EAAK,IAC/B,GAAU,IACV,cAEA,MAGJ,MAAO,GAIT,WAAgB,EAAK,CACnB,MAAO,GAAc,GAAK,QAAQ,MAAO,KAAK,QAAQ,MAAO,KAAK,QAAQ,KAAM,IAIlF,WAAmB,EAAK,CACtB,MAAO,GAAc,GAAK,QAAQ,MAAO,KAAK,QAAQ,MAAO,KAI/D,WAAmB,EAAK,CACtB,MAAO,OAAM,KAAK,GACf,IAAI,SAAU,EAAG,CAChB,MAAO,IAAI,EAAE,SAAS,MAAM,OAAO,MAEpC,KAAK,IASH,GAA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"2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Magic SDK WabAuthn Extension",
|
|
5
5
|
"author": "Magic <team@magic.link> (https://magic.link/)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@magic-sdk/commons": "^4.
|
|
31
|
+
"@magic-sdk/commons": "^4.1.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "6aa5a25b33865cfe27444ca6094efade16a82f9f"
|
|
34
34
|
}
|