tamaina 2024-03-02 13:53:52 +00:00
parent 30820d9e0a
commit 1357b076d0
1 changed files with 5 additions and 1 deletions

View File

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