Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Shepherd <zjs@users.noreply.github.com>2017-05-26 21:24:38 +0300
committerBrad Warren <bmw@users.noreply.github.com>2017-05-26 21:24:38 +0300
commitc827c9ec5ffaed884d57999dcdde0839becce0c2 (patch)
treef13536f81fe8cea5e8e85fd299a9bee3478705d0 /tox.cover.sh
parented87b86bcaeb9a5934530f8f0ffe153c26a5e887 (diff)
NS1 DNS Authenticator (#4602)
Implement an Authenticator which can fulfill a dns-01 challenge using the NS1 DNS API. Applicable only for domains using NS1 DNS. Testing Done: * `tox -e py27` * `tox -e lint` * Manual testing: * Used `certbot certonly --dns-nsone -d`, specifying a credentials file as a command line argument. Verified that a certificate was successfully obtained without user interaction. * Used `certbot certonly --dns-nsone -d`, without specifying a credentials file as a command line argument. Verified that the user was prompted and that a certificate was successfully obtained. * Used `certbot certonly -d`. Verified that the user was prompted for a credentials file after selecting dnsimple interactively and that a certificate was successfully obtained. * Used `certbot renew --force-renewal`. Verified that certificates were renewed without user interaction. * Negative testing: * Path to non-existent credentials file. * Credentials file with unsafe permissions (644). * Path to credentials file with an invalid token. * Path to credentials file without a token. * Domain name not registered to NS1 account.
Diffstat (limited to 'tox.cover.sh')
-rwxr-xr-xtox.cover.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.cover.sh b/tox.cover.sh
index f7064f918..51425faf2 100755
--- a/tox.cover.sh
+++ b/tox.cover.sh
@@ -9,7 +9,7 @@
# -e makes sure we fail fast and don't submit coveralls submit
if [ "xxx$1" = "xxx" ]; then
- pkgs="certbot acme certbot_apache certbot_dns_cloudflare certbot_dns_cloudxns certbot_dns_digitalocean certbot_dns_dnsimple certbot_dns_google certbot_nginx letshelp_certbot"
+ pkgs="certbot acme certbot_apache certbot_dns_cloudflare certbot_dns_cloudxns certbot_dns_digitalocean certbot_dns_dnsimple certbot_dns_google certbot_dns_nsone certbot_nginx letshelp_certbot"
else
pkgs="$@"
fi
@@ -31,6 +31,8 @@ cover () {
min=98
elif [ "$1" = "certbot_dns_google" ]; then
min=99
+ elif [ "$1" = "certbot_dns_nsone" ]; then
+ min=99
elif [ "$1" = "certbot_nginx" ]; then
min=97
elif [ "$1" = "letshelp_certbot" ]; then