diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-09 09:14:02 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-09 09:14:02 +0000 |
commit | b9ef7cab6264f1838672efbbcb4ba3b3abd5323f (patch) | |
tree | 38e677f4a13244ca8ed29a815a0a62f943b430d4 /app-crypt/acme-tiny/files/acme-tiny-PR101-contactinfo.patch | |
parent | d37b97a25b8b10f748eead6574b01f893f140b01 (diff) |
gentoo resync : 09.12.2017
Diffstat (limited to 'app-crypt/acme-tiny/files/acme-tiny-PR101-contactinfo.patch')
-rw-r--r-- | app-crypt/acme-tiny/files/acme-tiny-PR101-contactinfo.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-crypt/acme-tiny/files/acme-tiny-PR101-contactinfo.patch b/app-crypt/acme-tiny/files/acme-tiny-PR101-contactinfo.patch index 787b66c1129f..63727840d8e3 100644 --- a/app-crypt/acme-tiny/files/acme-tiny-PR101-contactinfo.patch +++ b/app-crypt/acme-tiny/files/acme-tiny-PR101-contactinfo.patch @@ -27,7 +27,7 @@ index 34a1863..bd79321 100644 - code, result = _send_signed_request(CA + "/acme/new-reg", { + payload = { "resource": "new-reg", - "agreement": "https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf", + "agreement": json.loads(urlopen(CA + "/directory").read().decode('utf8'))['meta']['terms-of-service'], - }) + } + if account_email: @@ -64,7 +64,7 @@ index bd79321..cea57ee 100644 --- a/acme_tiny.py +++ b/acme_tiny.py @@ -85,7 +85,7 @@ def _send_signed_request(url, payload): - "agreement": "https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf", + "agreement": json.loads(urlopen(CA + "/directory").read().decode('utf8'))['meta']['terms-of-service'], } if account_email: - payload["contact"] = ["mailto:"+account_email] |