[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#944186: stretch-pu: package dehydrated/0.3.1-3+deb9u3



Package: release.debian.org
User: release.debian.org@packages.debian.org
Usertags: pu
Tags: stretch
Control: unblock 941414 by 941126
Control: block 941414 by -1

As a follow-up to Julien's comment in #941126 - here is a targeted pu
fixing that single bug only.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
diffstat for dehydrated-0.3.1 dehydrated-0.3.1

 changelog                                                               |    7 ++
 patches/Fixes-559-when-HTTP-2-is-used-header-names-are-lower-case.patch |   26 ++++++++++
 patches/Update-the-default-License-Subscriber-Agreement-URL.patch       |    6 +-
 patches/series                                                          |    1 
 4 files changed, 37 insertions(+), 3 deletions(-)

diff -Nru dehydrated-0.3.1/debian/changelog dehydrated-0.3.1/debian/changelog
--- dehydrated-0.3.1/debian/changelog	2018-03-12 11:48:10.000000000 +0100
+++ dehydrated-0.3.1/debian/changelog	2019-11-05 14:20:34.000000000 +0100
@@ -1,3 +1,10 @@
+dehydrated (0.3.1-3+deb9u3) stretch; urgency=medium
+
+  * Add patch from upstream to fix cert renewal when using HTTP/2.
+    Closes: #941414
+
+ -- Mattia Rizzolo <mattia@debian.org>  Tue, 05 Nov 2019 14:20:34 +0100
+
 dehydrated (0.3.1-3+deb9u2) stretch; urgency=medium
 
   * Add patch from upstream to follow redirects on HTTP GET.
diff -Nru dehydrated-0.3.1/debian/patches/Fixes-559-when-HTTP-2-is-used-header-names-are-lower-case.patch dehydrated-0.3.1/debian/patches/Fixes-559-when-HTTP-2-is-used-header-names-are-lower-case.patch
--- dehydrated-0.3.1/debian/patches/Fixes-559-when-HTTP-2-is-used-header-names-are-lower-case.patch	1970-01-01 01:00:00.000000000 +0100
+++ dehydrated-0.3.1/debian/patches/Fixes-559-when-HTTP-2-is-used-header-names-are-lower-case.patch	2019-11-05 14:17:57.000000000 +0100
@@ -0,0 +1,26 @@
+From: Florent <>
+Date: Wed, 9 May 2018 19:29:21 +0200
+Subject: Fixes #559 : when HTTP/2 is used,
+ header names are lower case. So adding ignore case option (-i) to grep's.
+
+Acked-By: Mattia Rizzolo <mattia@debian.org>
+Bug: https://github.com/lukas2511/dehydrated/issues/559
+Bug-Debian: https://bugs.debian.org/941414
+Origin: upstream, e4e712c03ad70bd5100af1333c2801f4b5baa89a
+---
+ dehydrated | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dehydrated b/dehydrated
+index a0dbf04..c17b0d0 100755
+--- a/dehydrated
++++ b/dehydrated
+@@ -381,7 +381,7 @@ signed_request() {
+   payload64="$(printf '%s' "${2}" | urlbase64)"
+ 
+   # Retrieve nonce from acme-server
+-  nonce="$(http_request head "${CA}" | grep Replay-Nonce: | awk -F ': ' '{print $2}' | tr -d '\n\r')"
++  nonce="$(http_request head "${CA}" | grep -i Replay-Nonce: | awk -F ': ' '{print $2}' | tr -d '\n\r')"
+ 
+   # Build header with just our public key and algorithm information
+   header='{"alg": "RS256", "jwk": {"e": "'"${pubExponent64}"'", "kty": "RSA", "n": "'"${pubMod64}"'"}}'
diff -Nru dehydrated-0.3.1/debian/patches/series dehydrated-0.3.1/debian/patches/series
--- dehydrated-0.3.1/debian/patches/series	2018-03-12 11:48:10.000000000 +0100
+++ dehydrated-0.3.1/debian/patches/series	2019-11-05 14:17:57.000000000 +0100
@@ -6,3 +6,4 @@
 Support-both-config.sh-and-config-as-config-filenames-for.patch
 Update-the-default-License-Subscriber-Agreement-URL.patch
 follow-location-on-http-get-requests.patch
+Fixes-559-when-HTTP-2-is-used-header-names-are-lower-case.patch
diff -Nru dehydrated-0.3.1/debian/patches/Update-the-default-License-Subscriber-Agreement-URL.patch dehydrated-0.3.1/debian/patches/Update-the-default-License-Subscriber-Agreement-URL.patch
--- dehydrated-0.3.1/debian/patches/Update-the-default-License-Subscriber-Agreement-URL.patch	2018-03-12 11:48:10.000000000 +0100
+++ dehydrated-0.3.1/debian/patches/Update-the-default-License-Subscriber-Agreement-URL.patch	2019-11-05 14:17:57.000000000 +0100
@@ -5,9 +5,9 @@
 Closes: #881974
 Signed-off-by: Mattia Rizzolo <mattia@debian.org>
 ---
- dehydrated            | 2 +-
- docs/examples/config  | 4 ++--
- 3 files changed, 4 insertions(+), 3 deletions(-)
+ dehydrated           | 2 +-
+ docs/examples/config | 4 ++--
+ 2 files changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/dehydrated b/dehydrated
 index 7b88ae9..882c6bd 100755

Attachment: signature.asc
Description: PGP signature


Reply to: