Your message dated Sat, 07 Jan 2017 19:33:57 +0000
with message-id <e1cpwkx-000fol...@fasolo.debian.org>
and subject line Bug#850413: fixed in python-axolotl 0.1.35-3
has caused the Debian Bug report #850413,
regarding python-axolotl: FTBFS (ValueError: CTR mode needs counter parameter,
not IV)
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.)
--
850413: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850413
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-axolotl
Version: 0.1.35-2
Severity: serious
Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A"
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with python2,python3,quilt --buildsystem=pybuild
dh_testdir -i -O--buildsystem=pybuild
dh_update_autotools_config -i -O--buildsystem=pybuild
debian/rules override_dh_quilt_patch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_quilt_patch
Applying patch 000-rename-protobuf-genetared-files.patch
patching file axolotl/groups/state/senderkeyrecord.py
patching file axolotl/groups/state/senderkeystate.py
patching file axolotl/identitykeypair.py
patching file axolotl/protocol/keyexchangemessage.py
patching file axolotl/protocol/prekeywhispermessage.py
patching file axolotl/protocol/senderkeydistributionmessage.py
[... snipped ...]
======================================================================
ERROR: test_basicSessionV2 (axolotl.tests.test_sessioncipher.SessionCipherTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "axolotl/tests/test_sessioncipher.py", line 21, in test_basicSessionV2
self.runInteraction(aliceSessionRecord, bobSessionRecord)
File "axolotl/tests/test_sessioncipher.py", line 40, in runInteraction
message = aliceCipher.encrypt(alicePlaintext)
File "axolotl/sessioncipher.py", line 53, in encrypt
ciphertextBody = self.getCiphertext(sessionVersion, messageKeys,
paddedMessage)
File "axolotl/sessioncipher.py", line 217, in getCiphertext
cipher = self.getCipher_v2(messageKeys.getCipherKey(),
messageKeys.getCounter())
File "axolotl/sessioncipher.py", line 247, in getCipher_v2
cipher = AES.new(key, AES.MODE_CTR, IV=bytes(ivBytes), counter=ctr)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/AES.py", line 94, in new
return AESCipher(key, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/AES.py", line 59, in
__init__
blockalgo.BlockAlgo.__init__(self, _AES, key, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py", line 141,
in __init__
self._cipher = factory.new(key, *args, **kwargs)
ValueError: CTR mode needs counter parameter, not IV
======================================================================
ERROR: test_basicPreKeyV2 (axolotl.tests.test_sessionbuilder.SessionBuilderTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "axolotl/tests/test_sessionbuilder.py", line 52, in test_basicPreKeyV2
outgoingMessage = aliceSessionCipher.encrypt(originalMessage)
File "axolotl/sessioncipher.py", line 53, in encrypt
ciphertextBody = self.getCiphertext(sessionVersion, messageKeys,
paddedMessage)
File "axolotl/sessioncipher.py", line 217, in getCiphertext
cipher = self.getCipher_v2(messageKeys.getCipherKey(),
messageKeys.getCounter())
File "axolotl/sessioncipher.py", line 247, in getCipher_v2
cipher = AES.new(key, AES.MODE_CTR, IV=bytes(ivBytes), counter=ctr)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/AES.py", line 94, in new
return AESCipher(key, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/AES.py", line 59, in
__init__
blockalgo.BlockAlgo.__init__(self, _AES, key, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/Crypto/Cipher/blockalgo.py", line 141,
in __init__
self._cipher = factory.new(key, *args, **kwargs)
ValueError: CTR mode needs counter parameter, not IV
----------------------------------------------------------------------
Ran 22 tests in 0.246s
FAILED (errors=2)
E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m unittest discover
-v
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:8: recipe for target 'build-indep' failed
make: *** [build-indep] Error 25
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
If you need a full build log, just say so, but it always fails for me, and it
also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-axolotl.html
so it should be easy to reproduce.
Thanks.
--- End Message ---
--- Begin Message ---
Source: python-axolotl
Source-Version: 0.1.35-3
We believe that the bug you reported is fixed in the latest version of
python-axolotl, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 850...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Josue Ortega <jo...@debian.org> (supplier of updated python-axolotl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 07 Jan 2017 12:53:02 -0600
Source: python-axolotl
Binary: python-axolotl python3-axolotl
Architecture: source all
Version: 0.1.35-3
Distribution: unstable
Urgency: medium
Maintainer: Josue Ortega <jo...@debian.org>
Changed-By: Josue Ortega <jo...@debian.org>
Description:
python-axolotl - Python port of libaxolotl-android
python3-axolotl - Python 3 port of libaxolotl-android
Closes: 850413
Changes:
python-axolotl (0.1.35-3) unstable; urgency=medium
.
* Adds debian/patches/001-removes-IV-parameter-at-AES-creation.patch,
fixes FTBFS bug (Closes: #850413).
Checksums-Sha1:
9c97dd60649b69045187f5185422f3a7d9d04e3a 2330 python-axolotl_0.1.35-3.dsc
a6cc593d38366315119aaf92bbf72c0d72b26096 3596
python-axolotl_0.1.35-3.debian.tar.xz
6db34a6bf92ee5aa73ccb90696a00d0b22efbb99 35006 python-axolotl_0.1.35-3_all.deb
13fc04c97166065c7142b9e67c82b18f663f17ae 5775
python-axolotl_0.1.35-3_amd64.buildinfo
8aabdee1c87927d4660d9ea09af21916899b609b 35118 python3-axolotl_0.1.35-3_all.deb
Checksums-Sha256:
af743243b40f0a878da066abc510f986a6f3fd474852b9082edd1f0f4bff03ee 2330
python-axolotl_0.1.35-3.dsc
240d7a62ff2304468dae615b2bc78720eb8491e35906ca24bf7a6796fdcf7129 3596
python-axolotl_0.1.35-3.debian.tar.xz
bcae1c529cd5edcc6d88240665ec4c7f3ade6157db45a2ffc060017835590572 35006
python-axolotl_0.1.35-3_all.deb
22cd6c8953f21b7cf71a182412a340aa44f5601d8f2e99754a84d9c52ae51478 5775
python-axolotl_0.1.35-3_amd64.buildinfo
4f7802b287fbd8ec6ff2cfe2c59bde982dcfaaae48363c541ea300b75d5db7ed 35118
python3-axolotl_0.1.35-3_all.deb
Files:
430abd74417f435f3cb9b9881ea93754 2330 python optional
python-axolotl_0.1.35-3.dsc
970b8deabd68c0654de04e6ad1b852d8 3596 python optional
python-axolotl_0.1.35-3.debian.tar.xz
11db57939e6155a9c605aed701e80b0f 35006 python optional
python-axolotl_0.1.35-3_all.deb
4cb08fbdd1d9b8b4849508238fc45742 5775 python optional
python-axolotl_0.1.35-3_amd64.buildinfo
ee55268f44a7c8652e654ef9102fab61 35118 python optional
python3-axolotl_0.1.35-3_all.deb
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEdzOzKNJ5X1viMlrdAVCdXKtK/T8FAlhxP+MRHGpvc3VlQGRl
Ymlhbi5vcmcACgkQAVCdXKtK/T/E+hAAk66Sl6kpWjiRHSRsE7dz01i+CX6gO+j6
H/Ha1WPOudHc9SljiMHMB1QqIK3TiIlc/aIdm1CVimeP8ieFqzQbAtNWkORx6WKg
r8lxe4WAQPFiBFvr6k6e+5EOmvT6/QyQgds/GNvUqoDVuNwRsLmS3GCZViNRlfTC
jIbDeAaxoPzB60NeQqYJl1cvTFlS0EpgAcdkwccia8IqQw5lYbOiljf74ehuKmVe
YVTyWyIPiAdaP1mvWM0lqMIkbj9gUQSeaZ1veLxRDu9P8ByU6fA30uP4kAjS9DAs
jhPpWb5X8Hd9qhGPvVNNEZoAbhNyFqVIw2gqIf+vyh+PfICqaaHD8Non+eqxyaVM
xzSsVwVCvfmY4jEkJb05Mnrklr3qLNdne5w4MHaBqkDeF72ctFTSrbbHtGSYmL+S
OqyWgoHs8EoYSK+Z0RAJN3G41sz8JaUQsK/AuAy/2RvUkFEpv5tE2aVJ3pE4FwgR
kaDAXc6k6/1RF0RtQd219ZpjphSCnfxeZLLNhgFXU+poMDYS6SdQ3fMCjMqnTtTJ
s6BEUtcqnLdlo9qTwc7CuKv3VnwXLh72/7bTid2bma8Q+44AskT8r0PZzrejsvJa
UhOt1rwcVOQhDXvSanDOT7iAGiPq7plJQXEmRsudlyuaG4cLokYbI1SLZbKyq82s
5Rm//6JAd6Y=
=K3i7
-----END PGP SIGNATURE-----
--- End Message ---