summaryrefslogtreecommitdiff
path: root/acme2certifier
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-07-18 17:04:58 +0200
committerErich Eckner <git@eckner.net>2021-07-18 17:04:58 +0200
commit232d1a02995c9529beb01b8d22576e4589178aff (patch)
tree81d56e612c8a1e69bddfc9f51c67bd757e99df07 /acme2certifier
parent231897f2b75b27efd6ec519eaa58315f84975c31 (diff)
downloadarchlinuxewe-232d1a02995c9529beb01b8d22576e4589178aff.tar.xz
acme2certifier: fix python
Diffstat (limited to 'acme2certifier')
-rw-r--r--acme2certifier/PKGBUILD4
-rw-r--r--acme2certifier/challenge_proxy.patch4
2 files changed, 4 insertions, 4 deletions
diff --git a/acme2certifier/PKGBUILD b/acme2certifier/PKGBUILD
index 4d806c5c3..0e061e73c 100644
--- a/acme2certifier/PKGBUILD
+++ b/acme2certifier/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=acme2certifier
pkgver=0.17.1.r1.gc45044c
_commit="${pkgver##*.g}"
-pkgrel=2
+pkgrel=3
pkgdesc='experimental acme server written in python'
arch=('any')
url='https://github.com/grindsa/acme2certifier'
@@ -30,7 +30,7 @@ source=(
sha512sums=('SKIP'
'6700736f127297293067930e92b711c579d800c684b587ca2c5cbc2430dee241500932b57398d87a4dbf4111483bf0942814a06587bbe2a77958c9da18a18e63'
'3ed87346bf0776f50e452b1928c8f24db5498a5af1010042e9680ca136242f49e78d30ebca5e4328f485d1c051ab51f859a1ae2f936e0c6eb5b1cde700b3b201'
- 'a1aa9b4dcec2ad8090e49375f4450ba8bb7ed967f88e9a1e0d48ab173ab24bda4fa84e9869db14500557b51c95d160db35074be84028fe8ce3ee3bd9628367a3')
+ 'c02708668c573e142cf9ea2399a929c3acb63debf49cbf36158a730d60b82282830de3c028f251df4ffb756b62a01aa624d87f39b390096803f23a11c84b6cc9')
install="${pkgname}.install"
pkgver() {
diff --git a/acme2certifier/challenge_proxy.patch b/acme2certifier/challenge_proxy.patch
index 73b7af2e1..34e549239 100644
--- a/acme2certifier/challenge_proxy.patch
+++ b/acme2certifier/challenge_proxy.patch
@@ -194,7 +194,7 @@ index d7b6b0c..34f70e6 100644
response_got = req.splitlines()[0]
response_expected = '{0}.{1}'.format(token, jwk_thumbprint)
diff --git a/acme_srv/helper.py b/acme_srv/helper.py
-index 19c7d26..b6eac5a 100644
+index 19c7d26..4de810e 100644
--- a/acme_srv/helper.py
+++ b/acme_srv/helper.py
@@ -15,13 +15,14 @@ import textwrap
@@ -228,7 +228,7 @@ index 19c7d26..b6eac5a 100644
+
+ proxy = None
+ for regex in sorted(proxy_server_list_new.keys(), reverse=True):
-+ if regex is not '*':
++ if regex != '*':
+ if regex.startswith('*.'):
+ regex_compiled = re.compile(regex.replace('*.', ''))
+ else: