Merge branch 'dev'

This commit is contained in:
helgeerbe 2022-11-24 14:48:50 +01:00
commit 94b8817623
4 changed files with 10 additions and 9 deletions

4
.vscode/launch.json vendored
View file

@ -8,9 +8,9 @@
"name": "Python: Current File", "name": "Python: Current File",
"type": "python", "type": "python",
"request": "launch", "request": "launch",
"program": "/home/pi/dev/certbot/venv3/bin/certbot", "program": ".venv/bin/certbot",
"console": "integratedTerminal", "console": "integratedTerminal",
"args": ["certonly", "-a", "dns-ionos", "-d", "*.erbehome.de", "--dns-ionos-credentials", "/home/pi/dev/certbot-dns-ionos/my_debug/secrets/credentials.ini", "--config-dir", "my_debug/config", "--work-dir", "my_debug/work", "--logs-dir", "my_debug/logs"] "args": ["certonly", "-a", "dns-ionos", "-d", "*.erbehome.de", "-d", "erbehome.de", "--dns-ionos-credentials", "my_debug/secrets/credentials.ini", "--config-dir", "my_debug/config", "--work-dir", "my_debug/work", "--logs-dir", "my_debug/logs"]
} }
] ]
} }

View file

@ -135,6 +135,12 @@ chmod 700 /etc/letsencrypt/.secrets
Changelog Changelog
========= =========
- 2022.11.24
- remove zope to fix compatibility with Certbot 2.x (Fixes #19)
As a reminder, Certbot will default to issuing ECDSA certificates from release 2.0.0.
If you update from a prior certbot release, run the plugin once manually. You will be prompted
to update RSA key type to ECDSA.
- 2022.05.15 - 2022.05.15
- Added capability to handle multiple domain validations #16 - Added capability to handle multiple domain validations #16

View file

@ -1,20 +1,15 @@
"""DNS Authenticator for IONOS.""" """DNS Authenticator for IONOS."""
import json import json
import logging import logging
import time
import requests import requests
import zope.interface
from certbot import errors from certbot import errors
from certbot import interfaces
from certbot.plugins import dns_common from certbot.plugins import dns_common
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@zope.interface.implementer(interfaces.IAuthenticator)
@zope.interface.provider(interfaces.IPluginFactory)
class Authenticator(dns_common.DNSAuthenticator): class Authenticator(dns_common.DNSAuthenticator):
"""DNS Authenticator for IONOS """DNS Authenticator for IONOS

View file

@ -1,11 +1,11 @@
from setuptools import setup from setuptools import setup
from setuptools import find_packages from setuptools import find_packages
version = "2022.05.15" version = "2022.11.24"
install_requires = [ install_requires = [
"acme>=1.8.0", "acme>=1.8.0",
"certbot>=0.31.0", "certbot>=2.0.0",
"setuptools", "setuptools",
"requests", "requests",
"mock", "mock",