Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dkim_sign: default sign #2649

Merged
merged 11 commits into from
Sep 5, 2019
Merged

Conversation

msimerson
Copy link
Member

@msimerson msimerson commented May 21, 2019

Fixes #2600
Fixes #2669
Fixes #2668

Changes proposed in this pull request:

  • dkim_sign: restore default key signing feature

Checklist:

  • docs updated
  • tests updated
  • Changes updated

@haraka haraka deleted a comment from codecov bot Aug 20, 2019
@haraka haraka deleted a comment from codecov bot Aug 20, 2019
@haraka haraka deleted a comment from codecov bot Aug 20, 2019
@codecov
Copy link

codecov bot commented Aug 27, 2019

Codecov Report

Merging #2649 into master will decrease coverage by 0.09%.
The diff coverage is 16.41%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #2649     +/-   ##
=========================================
- Coverage   59.81%   59.72%   -0.1%     
=========================================
  Files          29       29             
  Lines        6396     6409     +13     
  Branches     1588     1592      +4     
=========================================
+ Hits         3826     3828      +2     
- Misses       2570     2581     +11
Impacted Files Coverage Δ
plugins/dkim_sign.js 35.51% <16.41%> (-1.31%) ⬇️

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 46a041b...8a2c76c. Read the comment docs.

- rename load_dkim_key -> load_dkim_default_key
- pass dkim signing properties (domain, selector, key) around as object
- call get_headers_to_sign when registering (vs. every transaction)
- factor get_sign_properties out of outbound hook (simpler, enables test coverage)
- when a dkim/${domain} dir is found, assure selector and key load
@msimerson msimerson merged commit 3c5e128 into haraka:master Sep 5, 2019
@msimerson msimerson deleted the 2499-dkim-sign-default-sign branch September 5, 2019 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant