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:
parent
5be443c2d3
commit
2149fea7e6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user