Skip to content
docs

VaultPasskey

Defined in: vault.ts:91

optional alg?: number

Defined in: vault.ts:101

COSE algorithm of publicKey (-7 = ES256).


createdAt: number

Defined in: vault.ts:95


dek: SealedBox

Defined in: vault.ts:97

The DEK sealed under HKDF(PRF output, salt = credential id). AAD = forgewallet-vault/2/passkey/<id>.


id: string

Defined in: vault.ts:93

WebAuthn credential id, base64url.


label: string

Defined in: vault.ts:94


optional publicKey?: string

Defined in: vault.ts:99

The credential’s public key (SPKI, base64) when the authenticator gave one — lets the worker verify assertions (passkey-per-signature).