trusteddomainproject / OpenARC

Open source ARC implementation
BSD 2-Clause "Simplified" License
135 stars 45 forks source link

MaximumHeaders setting doesn't work #184

Open simotuki11 opened 2 days ago

simotuki11 commented 2 days ago

The following is about both of the sealing process and the verification process.

Even if we change the MaximumHeaders setting, it still works with the default value of 65536 In the verification process.

We set "MaximumHeaders" in openarc.conf to 1000.

When sealing an email with a header size of 1050, a seal was added. We expected that a seal would not be added because the header size exceeded the value set in MaximumHeaders.

When verifying an email with a header size of 1050, an AR header was added. We expected that an AR header would not be added because the header size exceeded the value set in MaximumHeaders.

flowerysong commented 2 days ago

Fixed in https://github.com/flowerysong/OpenARC/commit/a0716842f86aa23db663613bf795677713b97546