tamaina 2024-03-02 13:53:52 +00:00
parent 30820d9e0a
commit 1357b076d0

View file

@ -110,7 +110,11 @@ export class ActivityPubServerService {
} }
try { try {
signature = parseRequestSignature(request.raw); signature = parseRequestSignature(request.raw, {
requiredInputs: {
draft: ['(request-target)', 'digest', 'host', 'date'],
},
});
} catch (e) { } catch (e) {
reply.code(401); reply.code(401);
return; return;