Skip to content

MAX_APP_METADATA_DEPTH

const MAX_APP_METADATA_DEPTH: 256 = 256

Defined in: packages/filecoin-encryption-envelope/src/cose/constants.ts:123

How deep the allowlist walk in headers.ts will descend into an app_metadata value or a recipient’s unprotected map, on encode and decode alike.

A library resource limit, not a COSE or FIP rule: it turns a stack overflow into a package error.