emersion / go-msgauth

🔏 A Go library and tools for DKIM, DMARC and Authentication-Results
MIT License
170 stars 52 forks source link

dkim: Fix ed25519 signing #16

Closed foxcpp closed 4 years ago

foxcpp commented 4 years ago

Apparently, "other problems" were me concating keys in the wrong order. (ed25519.PrivateKey is seed+public, not public+seed).

Closes #14.

codecov-io commented 4 years ago

Codecov Report

Merging #16 into master will increase coverage by 0.32%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   66.46%   66.78%   +0.32%     
==========================================
  Files           7        7              
  Lines         832      834       +2     
==========================================
+ Hits          553      557       +4     
+ Misses        210      208       -2     
  Partials       69       69
Impacted Files Coverage Δ
dkim/sign.go 68.58% <100%> (+1.7%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 56e7fdd...c98acbe. Read the comment docs.