Your message dated Mon, 09 Feb 2015 15:49:12 +0000
with message-id <1423496952.2090.0.ca...@adam-barratt.org.uk>
and subject line Re: Bug#777543: unblock: python-apns-client/0.1.8-2
has caused the Debian Bug report #777543,
regarding unblock: python-apns-client/0.1.8-2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
777543: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777543
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock
Please unblock package python-apns-client
Minimal fix for two RC bugs.
unblock python-apns-client/0.1.8-2
diff -Nru python-apns-client-0.1.8/debian/changelog python-apns-client-0.1.8/debian/changelog
--- python-apns-client-0.1.8/debian/changelog 2013-12-10 14:37:11.000000000 -0500
+++ python-apns-client-0.1.8/debian/changelog 2015-02-09 09:37:27.000000000 -0500
@@ -1,3 +1,12 @@
+python-apns-client (0.1.8-2) unstable; urgency=medium
+
+ * Team upload.
+ * Add missing depends on python-openssl (Closes: #777519)
+ * Add patch to use TLS instead of SSLv3, which is no longer supported
+ server side (Closes: #776538)
+
+ -- Scott Kitterman <sc...@kitterman.com> Mon, 09 Feb 2015 09:30:06 -0500
+
python-apns-client (0.1.8-1) unstable; urgency=low
* Initial release. (closes: #731880)
diff -Nru python-apns-client-0.1.8/debian/control python-apns-client-0.1.8/debian/control
--- python-apns-client-0.1.8/debian/control 2013-12-10 14:47:25.000000000 -0500
+++ python-apns-client-0.1.8/debian/control 2015-02-09 09:34:52.000000000 -0500
@@ -12,7 +12,7 @@
Package: python-apns-client
Architecture: all
-Depends: ${misc:Depends}, ${python:Depends}
+Depends: ${misc:Depends}, ${python:Depends}, python-openssl
Description: Python client for the Apple Push Notification service (APNS)
This package allows integration with Apple Push Notification Service,
a push notification service offered by Apple for use on its iOS devices.
diff -Nru python-apns-client-0.1.8/debian/patches/series python-apns-client-0.1.8/debian/patches/series
--- python-apns-client-0.1.8/debian/patches/series 1969-12-31 19:00:00.000000000 -0500
+++ python-apns-client-0.1.8/debian/patches/series 2015-02-09 09:33:02.000000000 -0500
@@ -0,0 +1 @@
+use_tls_no_sslv3.patch
diff -Nru python-apns-client-0.1.8/debian/patches/use_tls_no_sslv3.patch python-apns-client-0.1.8/debian/patches/use_tls_no_sslv3.patch
--- python-apns-client-0.1.8/debian/patches/use_tls_no_sslv3.patch 1969-12-31 19:00:00.000000000 -0500
+++ python-apns-client-0.1.8/debian/patches/use_tls_no_sslv3.patch 2015-02-09 09:58:22.000000000 -0500
@@ -0,0 +1,23 @@
+Description: Use TLS instead of SSLv3
+ * Add patch to use TLS instead of SSLv3, which is no longer supported
+ server side (Closes: #776538)
+Author: Scott Kitterman <sc...@kitterman.com>
+Bug-Debian: http://bugs.debian.org/776538
+Forwarded: no
+Last-Update: 2015-02-09
+
+--- python-apns-client-0.1.8.orig/apnsclient/apns.py
++++ python-apns-client-0.1.8/apnsclient/apns.py
+@@ -63,7 +63,11 @@ class Certificate(object):
+ - `key_file` (str): private key in PEM format from file.
+ - `passphrase` (str): passphrase for your private key.
+ """
+- self._context = OpenSSL.SSL.Context(OpenSSL.SSL.SSLv3_METHOD)
++ # The name SSLv23 is misleading. It's actually SSLv3 and all TLS versions,
++ # so changing SSLv3 to v23 enables TLS.
++ self._context = OpenSSL.SSL.Context(OpenSSL.SSL.SSLv23_METHOD)
++ # Then this option excludes SSLv3, which is no longer supported server side.
++ self._context.set_options(OpenSSL.SSL.OP_NO_SSLv3)
+
+ if cert_file:
+ # we have to load certificate for equality check. there is no
--- End Message ---
--- Begin Message ---
On Mon, 2015-02-09 at 10:07 -0500, Scott Kitterman wrote:
> Please unblock package python-apns-client
>
> Minimal fix for two RC bugs.
Unblocked, thanks.
Regards,
Adam
--- End Message ---