From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIO2o-0002Tp-2x for guix-patches@gnu.org; Fri, 24 Nov 2017 19:10:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIO2k-0007t3-Rn for guix-patches@gnu.org; Fri, 24 Nov 2017 19:10:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47944) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eIO2k-0007sv-Aw for guix-patches@gnu.org; Fri, 24 Nov 2017 19:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eIO2k-0001R3-5J for guix-patches@gnu.org; Fri, 24 Nov 2017 19:10:02 -0500 Subject: [bug#29415] [PATCH] gnu: python-axolotl: Update to 0.1.39 and fix build. Resent-Message-ID: Date: Fri, 24 Nov 2017 19:09:52 -0500 From: Leo Famulari Message-ID: <20171125000952.GA17061@jasmine.lan> References: <87y3mw3go1.fsf@vany.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <87y3mw3go1.fsf@vany.ca> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Adam Van Ymeren Cc: 29415@debbugs.gnu.org --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 23, 2017 at 03:04:46PM -0500, Adam Van Ymeren wrote: Hi, > Patch taken from the debian package for python-axolotl-0.1.39. >=20 > python-axolotl has been failing since March, > https://hydra.gnu.org/job/gnu/master/python-axolotl-0.1.35.x86_64-linux >=20 > This also fixes the OMEMO and OTR plugins for Gajim work. Thanks for looking into this and sending the patch. > diff --git a/gnu/packages/patches/python-axolotl-removes-IV-parameter-at-= AES-creation.patch b/gnu/packages/patches/python-axolotl-removes-IV-paramet= er-at-AES-creation.patch > new file mode 100644 > index 000000000..b25806ca2 > --- /dev/null > +++ b/gnu/packages/patches/python-axolotl-removes-IV-parameter-at-AES-cre= ation.patch > @@ -0,0 +1,21 @@ > +Description: Removes IV paramenter from AES constructor, since it is not= necessary for ctr mode. > +Author: Josue Ortega > +Last-Update: 2017-04-13 > + > +--- a/axolotl/sessioncipher.py > ++++ b/axolotl/sessioncipher.py > +@@ -228,13 +228,7 @@ > + # counterint =3D struct.unpack(">L", counterbytes)[0] > + # counterint =3D int.from_bytes(counterbytes, byteorder=3D'big') > + ctr =3D Counter.new(128, initial_value=3Dcounter) > +- > +- # cipher =3D AES.new(key, AES.MODE_CTR, counter=3Dctr) > +- ivBytes =3D bytearray(16) > +- ByteUtil.intToByteArray(ivBytes, 0, counter) > +- > +- cipher =3D AES.new(key, AES.MODE_CTR, IV=3Dbytes(ivBytes), coun= ter=3Dctr) > +- > ++ cipher =3D AES.new(key, AES.MODE_CTR, counter=3Dctr) > + return cipher I think this change should be submitted upstream, which is here: https://github.com/tgalal/python-axolotl Can you do that? We wouldn't have to wait for a new release of python-axolotl, but we should wait to hear what the upstream maintainer thinks. --0F1p//8PRICkK4MW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAloYtM0ACgkQJkb6MLrK fwjgrw/+MR/CtIzy05V0fwFZ/5z+EyHiWpBpjohkHrIVl5l+dummX4ht9+GpWfkR 1weK8i0viluSPeVqZ6S+gUBffVD10eL/A4N5mr3yQrJsd61TnHnMbGFiljDsbRq1 manUUc8O/YhCCYQ2IYf0ukMK0v5XV1TmpAh9icU4PBFCYli5Bpjq4A3aqr3Iq87P mhl846uUK80Y+0Tl48h0uj0cVgDbbJeKLB0YFnj3+XbKED9AZq4QnwFdzIlDAFjt SLAwVORtb+FMeZfcUx/QT54yKj2rXGwsyOB4w40zjZvfe0sWD7Iljq7wLd9isChl dH3hfqEJca9TArm+oOb1IrpJdyMhSTeCtgDeflxr1N7tk7CiRpCTVlHkCSMO2ANS PGf4xp8IELed5JMV2co8fCv13d71a8W2UadAyzLEPgjvmoni2x2WC976VX/CuHis 1CbRnhHNZHToiqc1QF0d6/dl3dL6UFWW8v5NX5Y3iSgsyLyVYy7eSR2XAWNg5igO qgsR85aemcN3jTynRUXKV3IZyLqySG+G/pzLuLhK7GCg46ti0cmFnuLQdQ9mwMdI 91Gb92/C2x1/vAjLH/0wGShA3yEal7XbNEVeK9Pug7mitLfkZQ5JkGq0PbeQebj7 jDutFg0gABqDhF9al/slOWhyksGMpjRTcqyiiQYak7VpWheugpA= =SuBl -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW--