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

@simplewebauthn/server

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simplewebauthn/server - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

dist/attestation/verifications/tpm/verifyTPM.d.ts
/// <reference types="node" />
import type { AttestationStatement } from "../../../helpers/decodeAttestationObject";
import type { AttestationStatement } from '../../../helpers/decodeAttestationObject';
declare type Options = {

@@ -4,0 +4,0 @@ aaguid: Buffer;

/// <reference types="node" />
import type { AttestationStatement } from "../../helpers/decodeAttestationObject";
import type { AttestationStatement } from '../../helpers/decodeAttestationObject';
declare type Options = {

@@ -4,0 +4,0 @@ authData: Buffer;

/// <reference types="node" />
import type { AttestationStatement } from "../../helpers/decodeAttestationObject";
import type { AttestationStatement } from '../../helpers/decodeAttestationObject';
declare type Options = {

@@ -4,0 +4,0 @@ attStmt: AttestationStatement;

/// <reference types="node" />
import type { AttestationStatement } from "../../helpers/decodeAttestationObject";
import type { AttestationStatement } from '../../helpers/decodeAttestationObject';
declare type Options = {

@@ -4,0 +4,0 @@ attStmt: AttestationStatement;

/// <reference types="node" />
import type { AttestationStatement } from "../../helpers/decodeAttestationObject";
import type { AttestationStatement } from '../../helpers/decodeAttestationObject';
declare type Options = {

@@ -4,0 +4,0 @@ attStmt: AttestationStatement;

/// <reference types="node" />
import type { AttestationStatement } from "../../helpers/decodeAttestationObject";
import type { AttestationStatement } from '../../helpers/decodeAttestationObject';
declare type Options = {

@@ -4,0 +4,0 @@ attStmt: AttestationStatement;

/// <reference types="node" />
import { AttestationCredentialJSON, COSEAlgorithmIdentifier } from '@simplewebauthn/typescript-types';
import { ATTESTATION_FORMAT } from "../helpers/decodeAttestationObject";
import { ATTESTATION_FORMAT } from '../helpers/decodeAttestationObject';
export declare type VerifyAttestationResponseOpts = {

@@ -5,0 +5,0 @@ credential: AttestationCredentialJSON;

/// <reference types="node" />
/**
* Convert an AttestationObject from base64url string to a proper object
* Convert an AttestationObject buffer to a proper object
*
* @param base64AttestationObject Base64URL-encoded Attestation Object
* @param base64AttestationObject Attestation Object buffer
*/

@@ -7,0 +7,0 @@ export default function decodeAttestationObject(attestationObject: Buffer): AttestationObject;

@@ -9,5 +9,5 @@ "use strict";

/**
* Convert an AttestationObject from base64url string to a proper object
* Convert an AttestationObject buffer to a proper object
*
* @param base64AttestationObject Base64URL-encoded Attestation Object
* @param base64AttestationObject Attestation Object buffer
*/

@@ -14,0 +14,0 @@ function decodeAttestationObject(attestationObject) {

/// <reference types="node" />
import { COSEPublicKey } from "./convertCOSEtoPKCS";
import { COSEPublicKey } from './convertCOSEtoPKCS';
export default function decodeCredentialPublicKey(publicKey: Buffer): COSEPublicKey;

@@ -5,12 +5,12 @@ /**

*/
import generateAttestationOptions from "./attestation/generateAttestationOptions";
import verifyAttestationResponse from "./attestation/verifyAttestationResponse";
import generateAssertionOptions from "./assertion/generateAssertionOptions";
import verifyAssertionResponse from "./assertion/verifyAssertionResponse";
import MetadataService from "./metadata/metadataService";
import generateAttestationOptions from './attestation/generateAttestationOptions';
import verifyAttestationResponse from './attestation/verifyAttestationResponse';
import generateAssertionOptions from './assertion/generateAssertionOptions';
import verifyAssertionResponse from './assertion/verifyAssertionResponse';
import MetadataService from './metadata/metadataService';
export { generateAttestationOptions, verifyAttestationResponse, generateAssertionOptions, verifyAssertionResponse, MetadataService, };
import type { GenerateAttestationOptionsOpts } from "./attestation/generateAttestationOptions";
import type { GenerateAssertionOptionsOpts } from "./assertion/generateAssertionOptions";
import type { VerifiedAttestation, VerifyAttestationResponseOpts } from "./attestation/verifyAttestationResponse";
import type { VerifiedAssertion, VerifyAssertionResponseOpts } from "./assertion/verifyAssertionResponse";
import type { GenerateAttestationOptionsOpts } from './attestation/generateAttestationOptions';
import type { GenerateAssertionOptionsOpts } from './assertion/generateAssertionOptions';
import type { VerifiedAttestation, VerifyAttestationResponseOpts } from './attestation/verifyAttestationResponse';
import type { VerifiedAssertion, VerifyAssertionResponseOpts } from './assertion/verifyAssertionResponse';
export type { GenerateAttestationOptionsOpts, GenerateAssertionOptionsOpts, VerifyAttestationResponseOpts, VerifyAssertionResponseOpts, VerifiedAttestation, VerifiedAssertion, };
/// <reference types="node" />
import { Base64URLString } from '@simplewebauthn/typescript-types';
import { MetadataStatement } from "./metadataService";
import { MetadataStatement } from './metadataService';
export default function verifyAttestationWithMetadata(statement: MetadataStatement, alg: number, x5c: Buffer[] | Base64URLString[]): Promise<boolean>;
{
"name": "@simplewebauthn/server",
"version": "2.2.0",
"version": "2.2.1",
"description": "SimpleWebAuthn for Servers",

@@ -22,3 +22,3 @@ "main": "dist/index.js",

"scripts": {
"build": "rimraf dist && ttsc",
"build": "rimraf dist && tsc",
"test": "jest",

@@ -48,3 +48,3 @@ "test:watch": "jest --watch",

},
"gitHead": "9791fa44b690020dc43f15e5d5ade451c6b0e914",
"gitHead": "1a186879d647256cae2bc1c6b9ae73ba28624f65",
"devDependencies": {

@@ -51,0 +51,0 @@ "@types/cbor": "^5.0.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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