Remove debug messages

This commit is contained in:
Chocobozzz 2020-01-24 11:38:35 +01:00
parent 44d4ee4fcb
commit 99849607a6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 0 additions and 3 deletions

View File

@ -20,8 +20,6 @@ async function processActivityPubHttpUnicast (job: Bull.Job) {
const body = await computeBody(payload)
const httpSignatureOptions = await buildSignedRequestOptions(payload)
logger.info('hello', { httpSignatureOptions })
const options = {
method: 'POST',
uri,

View File

@ -55,7 +55,6 @@ async function checkHttpSignature (req: Request, res: Response) {
const sig = req.headers[HTTP_SIGNATURE.HEADER_NAME] as string
if (sig && sig.startsWith('Signature ') === true) req.headers[HTTP_SIGNATURE.HEADER_NAME] = sig.replace(/^Signature /, '')
logger.info('coucou', { signature: req.headers[HTTP_SIGNATURE.HEADER_NAME] })
const parsed = parseHTTPSignature(req, HTTP_SIGNATURE.CLOCK_SKEW_SECONDS)
const keyId = parsed.keyId