Commit 4015f022 authored by Harlan Lieberman-Berg's avatar Harlan Lieberman-Berg

New upstream version 0.31.0

parent cf4d3e37
Metadata-Version: 2.1
Name: certbot-dns-linode
Version: 0.28.0
Version: 0.31.0
Summary: Linode DNS Authenticator plugin for Certbot
Home-page: https://github.com/certbot/certbot
Author: Certbot Project
......
Metadata-Version: 2.1
Name: certbot-dns-linode
Version: 0.28.0
Version: 0.31.0
Summary: Linode DNS Authenticator plugin for Certbot
Home-page: https://github.com/certbot/certbot
Author: Certbot Project
......
acme>=0.21.1
certbot>=0.21.1
acme>=0.31.0
certbot>=0.31.0
dns-lexicon>=2.2.1
mock
setuptools
......
......@@ -54,6 +54,7 @@ class Authenticator(dns_common.DNSAuthenticator):
def _get_linode_client(self):
return _LinodeLexiconClient(self.credentials.conf('key'))
class _LinodeLexiconClient(dns_common_lexicon.LexiconClient):
"""
Encapsulates all communication with the Linode API.
......@@ -61,11 +62,13 @@ class _LinodeLexiconClient(dns_common_lexicon.LexiconClient):
def __init__(self, api_key):
super(_LinodeLexiconClient, self).__init__()
self.provider = linode.Provider({
'provider_name': 'linode',
'auth_token': api_key
config = dns_common_lexicon.build_lexicon_config('linode', {}, {
'auth_token': api_key,
})
self.provider = linode.Provider(config)
def _handle_general_error(self, e, domain_name):
if not str(e).startswith('Domain not found'):
return errors.PluginError('Unexpected error determining zone identifier for {0}: {1}'
......
import sys
from setuptools import setup
from setuptools import find_packages
version = '0.28.0'
version = '0.31.0'
# Please update tox.ini when modifying dependency version requirements
install_requires = [
'acme>=0.21.1',
'certbot>=0.21.1',
'acme>=0.31.0',
'certbot>=0.31.0',
'dns-lexicon>=2.2.1',
'mock',
'setuptools',
......
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