toorop / go-dkim

DKIM package for golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Verify crashes if "a=" doesn't contain a dash

emersion opened this issue · comments

A DKIM-Signature which has a a= parameter without a - makes the library crash.

Can you give me a header sample cause if i test with https://github.com/toorop/go-dkim/blob/master/dkim_test.go#L140 i have no problems/crash