tadd comment about pyaes issue - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit ed6b2d0abf1bbe6c9b310634f760f1cce97c2c10 DIR parent a2048feb240eedd30f14be97a948c06e7caaf985 HTML Author: ThomasV <thomasv@electrum.org> Date: Tue, 17 Oct 2017 12:55:13 +0200 add comment about pyaes issue Diffstat: M lib/tests/test_bitcoin.py | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) --- DIR diff --git a/lib/tests/test_bitcoin.py b/lib/tests/test_bitcoin.py t@@ -113,6 +113,10 @@ class Test_bitcoin(unittest.TestCase): password = u"uber secret" wrong_password = u"not the password" enc = pw_encode(payload, password) + # FIXME: pyaes does not check that padding is consistent + # before removing it, wich causes this test to randomly fail. + # Wallets are unaffected by this, because check_password + # includes a test of the decoded public key. self.assertRaises(Exception, pw_decode, enc, wrong_password) def test_hash(self):