Merge branch 'master' into drop-pyjwt

This commit is contained in:
Alex Zorin 2022-07-14 09:40:32 +10:00
commit c9b9eb2214
25 changed files with 52 additions and 24 deletions

View file

@ -289,3 +289,4 @@ Authors
* [Yuseong Cho](https://github.com/g6123)
* [Zach Shepherd](https://github.com/zjs)
* [陈三](https://github.com/chenxsan)
* [Shahar Naveh](https://github.com/ShaharNaveh)

View file

@ -3,7 +3,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'cryptography>=2.5.0',

View file

@ -1,7 +1,7 @@
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
# We specify the minimum acme and certbot version as the current plugin

View file

@ -1,7 +1,7 @@
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'certbot',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'cloudflare>=1.5.1',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'dns-lexicon>=3.2.1',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'python-digitalocean>=1.11', # 1.15.0 or newer is recommended for TTL support

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
# This version of lexicon is required to address the problem described in

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'dns-lexicon>=3.2.1',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'dns-lexicon>=3.2.1',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'google-api-python-client>=1.5.5',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'dns-lexicon>=3.2.1',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'dns-lexicon>=3.2.1',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'dns-lexicon>=3.2.1',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'dns-lexicon>=3.2.1',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'dnspython>=1.15.0',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'boto3>=1.15.15',

View file

@ -4,7 +4,7 @@ import sys
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
'dns-lexicon>=3.2.1',

View file

@ -1,7 +1,7 @@
from setuptools import find_packages
from setuptools import setup
version = '1.29.0.dev0'
version = '1.30.0.dev0'
install_requires = [
# We specify the minimum acme and certbot version as the current plugin

View file

@ -2,7 +2,23 @@
Certbot adheres to [Semantic Versioning](https://semver.org/).
## 1.29.0 - master
## 1.30.0 - master
### Added
*
### Changed
*
### Fixed
*
More details about these changes can be found on our GitHub repo.
## 1.29.0 - 2022-07-05
### Added

View file

@ -1,3 +1,3 @@
"""Certbot client."""
# version number like 1.2.3a0, must have at least 2 parts, like 1.2
__version__ = '1.29.0.dev0'
__version__ = '1.30.0.dev0'

View file

@ -126,7 +126,7 @@ optional arguments:
case, and to know when to deprecate support for past
Python versions and flags. If you wish to hide this
information from the Let's Encrypt server, set this to
"". (default: CertbotACMEClient/1.28.0 (certbot;
"". (default: CertbotACMEClient/1.29.0 (certbot;
OS_NAME OS_VERSION) Authenticator/XXX Installer/YYY
(SUBCOMMAND; flags: FLAGS) Py/major.minor.patchlevel).
The flags encoded in the user agent are: --duplicate,

View file

@ -83,7 +83,7 @@ def publish_windows(css):
:param str css: CSS host name
"""
username = getpass.getuser()
username = input("CSS username (usually EFF username): ")
host = css
command = "ssh -t {}@{} bash /opt/certbot-misc/css/venv.sh".format(username,host)
@ -130,9 +130,9 @@ def get_snap_revisions(snap, version):
print('Getting revision numbers for', snap, version)
cmd = ['snapcraft', 'status', snap]
process = subprocess.run(cmd, check=True, stdout=subprocess.PIPE, universal_newlines=True)
pattern = f'^\s+beta\s+{version}\s+(\d+)\s*$'
pattern = f'^\s+beta\s+{version}\s+(\d+)\s*'
revisions = re.findall(pattern, process.stdout, re.MULTILINE)
assert len(revisions) == SNAP_ARCH_COUNT, f'Unexpected number of snaps found for {snap} {version}'
assert len(revisions) == SNAP_ARCH_COUNT, f'Unexpected number of snaps found for {snap} {version} (expected {SNAP_ARCH_COUNT}, found {len(revisions)})'
return revisions

View file

@ -75,6 +75,11 @@ setuptools-rust = "*"
# https://github.com/python-poetry/poetry-core/commit/4e1f2ab582d1fef0033c0d3f35a3f2f2365a4bc9
pylint = ">2.6.2"
# Bug in poetry, where still installes yanked versions from pypi (source: https://github.com/python-poetry/poetry/issues/2453)
# this version of cryptography introduced a security vulnrability.
# Making sure that it would not get installed (Fixing https://github.com/certbot/certbot/issues/9336)
cryptography = "!= 37.0.3"
[tool.poetry.dev-dependencies]
[build-system]

View file

@ -253,6 +253,12 @@ def main():
process.join(args.timeout)
if process.is_alive():
for target in targets:
if target == 'certbot':
workspace = CERTBOT_DIR
else:
workspace = join(CERTBOT_DIR, target)
_dump_failed_build_logs(target, archs, status, workspace)
raise ValueError(f"Timeout out reached ({args.timeout} seconds) during the build!")
build_success = True