pub const MAX_ATTESTATION_OBJECT: usize = 8192;
The longest WebAuthn attestationObject a registration may carry, refused before it is parsed. Room for an attestation certificate chain, which is carried but not checked.
attestationObject