Commit 94e76b7b authored by Adrien Dorsaz's avatar Adrien Dorsaz
Browse files

announce version 2.4 in user agents

parent 836b55d1
Pipeline #318 passed with stages
in 12 minutes and 34 seconds
......@@ -95,7 +95,7 @@ def get_crt(config, log=LOGGER):
raise RuntimeError("Unable to get response from ACME server.")
# main code
adtheaders = {'User-Agent': 'acme-dns-tiny/2.2',
adtheaders = {'User-Agent': 'acme-dns-tiny/2.4',
'Accept-Language': config["acmednstiny"].get("Language", "en")}
nonce = None
......
......@@ -74,7 +74,7 @@ def account_deactivate(accountkeypath, acme_directory, log=LOGGER):
raise RuntimeError("Unable to get response from ACME server.")
# main code
adtheaders = {'User-Agent': 'acme-dns-tiny/2.2'}
adtheaders = {'User-Agent': 'acme-dns-tiny/2.4'}
nonce = None
log.info("Fetch informations from the ACME directory.")
......
......@@ -107,7 +107,7 @@ def account_rollover(old_accountkeypath, new_accountkeypath, acme_directory, log
raise RuntimeError("Unable to get response from ACME server.")
# main code
adtheaders = {'User-Agent': 'acme-dns-tiny/2.2'}
adtheaders = {'User-Agent': 'acme-dns-tiny/2.4'}
nonce = None
log.info("Fetch informations from the ACME directory.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment