3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 23:32:16 +00:00

TODO: KeyCrypterScryptTest sometimes fails because key crypto is still relying on padding bytes in some cases.

This commit is contained in:
Mike Hearn 2013-06-18 17:31:46 +02:00
parent 5be443c2d3
commit 2149fea7e6

View File

@ -116,6 +116,7 @@ public class KeyCrypterScryptTest extends TestCase {
try {
keyCrypter.decrypt(encryptedPrivateKey, keyCrypter.deriveKey(WRONG_PASSWORD));
// TODO: This test sometimes fails due to relying on padding.
fail("Decrypt with wrong password did not throw exception");
} catch (KeyCrypterException ede) {
assertTrue(ede.getMessage().indexOf("Could not decrypt") > -1);