Skip to content

Commit

Permalink
Remove DPK
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterKale committed Sep 22, 2024
1 parent 12aa245 commit 1ad9cf4
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions packages/server/src/helpers/decodeAuthenticatorExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,10 @@ export function decodeAuthenticatorExtensions(
return convertMapToObjectDeep(toCBOR);
}

export type AuthenticationExtensionsAuthenticatorOutputs = {
devicePubKey?: DevicePublicKeyAuthenticatorOutput;
};

export type DevicePublicKeyAuthenticatorOutput = {
dpk?: Uint8Array;
sig?: string;
nonce?: Uint8Array;
scope?: Uint8Array;
aaguid?: Uint8Array;
};
/**
* Attempt to support authenticator extensions we might not know about in WebAuthn
*/
export type AuthenticationExtensionsAuthenticatorOutputs = unknown;

/**
* CBOR-encoded extensions can be deeply-nested Maps, which are too deep for a simple
Expand Down

0 comments on commit 1ad9cf4

Please sign in to comment.