Enforce claim permission and bounded full USB enrollment envelopes
Device Core qualification / qualify (push) Successful in 8m31s

This commit is contained in:
DCCONSTRUCTIONS
2026-10-01 09:33:04 +03:00
parent dc9fe6e0fc
commit be30fafa95
6 changed files with 32 additions and 3 deletions
@@ -180,7 +180,7 @@ export function createDeviceManagerServer({
}
const requestId = singleHeader(request.headers["idempotency-key"]);
if (!/^[a-f0-9]{32}$/.test(requestId)) throw serviceError("b2_request_id_invalid", 400);
const input = await readJsonBody(request, 64 * 1024);
const input = await readJsonBody(request, 128 * 1024);
const result = await coreClient.b2Infrastructure(context.actor, input, requestId);
return sendJson(response, 200, { ok: true, result });
}