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 typo s/alreday/already/ #6

Merged
merged 3 commits into from Nov 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions acme_dns_tiny.py
Expand Up @@ -238,7 +238,7 @@ def _send_signed_request(url, payload, extra_headers=None):
domain = authorization["identifier"]["value"]

if authorization["status"] == "valid":
log.info("Skip authorization for domain %s: this is alreday validated", domain)
log.info("Skip authorization for domain %s: this is already validated", domain)
continue
if authorization["status"] != "pending":
raise ValueError("Authorization for the domain {0} can't be validated: "
Expand All @@ -260,7 +260,7 @@ def _send_signed_request(url, payload, extra_headers=None):
log.info(" - A CNAME resource has been found for this domain, will install TXT on %s",
dnsrr_domain)
except dns.exception.DNSException as dnsexception:
log.debug((" - Not any CNAME resource has been found for this domain (%s), will "
log.debug((" - No CNAME resource has been found for this domain (%s), will "
"install TXT directly on %s"), type(dnsexception).__name__, dnsrr_domain)
dnsrr_set = dns.rrset.from_text(dnsrr_domain, config["DNS"].getint("TTL"),
"IN", "TXT", '"{0}"'.format(keydigest64))
Expand Down Expand Up @@ -318,7 +318,7 @@ def _send_signed_request(url, payload, extra_headers=None):
finally:
_update_dns(dnsrr_set, "delete", resolver)

log.info("Request to finalize the order (all chalenge have been completed)")
log.info("Request to finalize the order (all challenges have been completed)")
csr_der = _base64(_openssl("req", ["-in", config["acmednstiny"]["CSRFile"],
"-outform", "DER"]))
http_response, result = _send_signed_request(order["finalize"], {"csr": csr_der})
Expand Down