Skip to content

Unable to generate circuit inputs for email with base64 encoded attachment  #154

@mohammed7s

Description

@mohammed7s

eml used has a base64 encoded attachment. running generate_input.ts generates this error:

Error: No public key found on DKIM verification result

Logging the result.results[0] from result = await dkimVerify(email); yields this output:

image

so the bodyHash and bodyHashExpecting are not matching so its failing here:

if (signatureHeader.parsed?.bh?.value !== bodyHash) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghigh

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions