LuaDNS DNS Authenticator (#4605)

Implement an Authenticator which can fulfill a dns-01 challenge using
the LuaDNS API. Applicable only for domains using LuaDNS for DNS.

Testing Done:
 * `tox -e py27`
 * `tox -e lint`
 * Manual testing:
    * Used `certbot certonly --dns-luadns -d`, specifying a
      credentials file as a command line argument. Verified that a
      certificate was successfully obtained without user interaction.
 * Negative testing:
    * Path to non-existent credentials file.
    * Credentials file with unsafe permissions (644).
    * Path to credentials file without an email.
    * Path to credentials file with an invalid email.
    * Path to credentials file without a token.
    * Path to credentials file with an invalid token.
    * Domain name not registered to LuaDNS account.
This commit is contained in:
Zach Shepherd
2017-06-16 14:43:12 -07:00
committed by Brad Warren
parent 32f7e82a69
commit 3f86e13acc
23 changed files with 780 additions and 4 deletions
+1
View File
@@ -34,6 +34,7 @@ class PluginEntryPoint(object):
"certbot-dns-dnsimple",
"certbot-dns-dnsmadeeasy",
"certbot-dns-google",
"certbot-dns-luadns",
"certbot-dns-nsone",
"certbot-dns-route53",
"certbot-nginx",