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

FIX #162 - removed "*." added by client.py, removed often incomplete … #163

Merged
merged 2 commits into from
Apr 10, 2020

Conversation

mmaney
Copy link
Collaborator

@mmaney mmaney commented Apr 7, 2020

…fixes from most providers.

Contributor offers to license certain software (a “Contribution” or multiple “Contributions”) to sewer, and sewer agrees to accept said Contributions, under the terms of the MIT License.
Contributor understands and agrees that sewer shall have the irrevocable and perpetual right to make and distribute copies of any Contribution, as well as to create and distribute collective works and derivative works of any Contribution, under the MIT License.

What(What have you changed?)

Removed prepending of "*." to wildcard domains in Client.get_identifier_authorization to fix #162 as well as several other providers that appear to have the same problem but no open bug I can find.

Why(Why did you change it?)

8 of 11 providers had the obvious domain_name.lstrip("*') patch, though several only apply that to adding domains, and so probably fail when deleting them (may not be checked & reported in the driver?). One other achieved the same removal in a different way. The two that didn't were rout53 (cause of the cited bug report) and powerdns, which is a fairly new driver and certainly looks like it would fail to handle "*.domain.tld". Would love to hear from @kylejohnson about that one.

@codecov
Copy link

codecov bot commented Apr 7, 2020

Codecov Report

Merging #163 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
+ Coverage   86.70%   86.71%   +0.01%     
==========================================
  Files          18       18              
  Lines        1038     1024      -14     
==========================================
- Hits          900      888      -12     
+ Misses        138      136       -2     
Impacted Files Coverage Δ
sewer/client.py 91.63% <ø> (+0.26%) ⬆️
sewer/dns_providers/acmedns.py 86.48% <ø> (-0.36%) ⬇️
sewer/dns_providers/aliyundns.py 84.46% <ø> (-0.15%) ⬇️
sewer/dns_providers/auroradns.py 88.00% <ø> (-0.24%) ⬇️
sewer/dns_providers/cloudflare.py 93.05% <ø> (-0.19%) ⬇️
sewer/dns_providers/cloudns.py 75.00% <ø> (+1.08%) ⬆️
sewer/dns_providers/dnspod.py 94.54% <ø> (-0.20%) ⬇️
sewer/dns_providers/duckdns.py 92.85% <ø> (-0.25%) ⬇️
sewer/dns_providers/hurricane.py 70.45% <ø> (-0.66%) ⬇️
sewer/dns_providers/rackspace.py 68.80% <ø> (-0.29%) ⬇️

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 adece3a...418725d. Read the comment docs.

@komuw
Copy link
Owner

komuw commented Apr 7, 2020

Codacy Here is an overview of what got changed by this pull request:

Clones removed
==============
+ sewer/dns_providers/tests/test_hedns.py  -2
+ sewer/dns_providers/tests/test_aliyundns.py  -2
         

See the complete overview on Codacy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wildcard certs do not work for the AWS route53 provider
2 participants