org.bitcoinj.crypto.KeyCrypterException: Could not decrypt bytes

GitHub | gary-rowe | 1 year ago
  1. 0

    "Could not sign the transaction" causes crash

    GitHub | 1 year ago | gary-rowe
    org.bitcoinj.crypto.KeyCrypterException: Could not decrypt bytes
  2. 0

    Could not decrypt should not invoke ErrorReporter

    GitHub | 1 year ago | jim618
    org.bitcoinj.crypto.KeyCrypterException: Could not decrypt: pad block corrupted
  3. 0

    org.spongycastle.crypto.InvalidCipherTextException: Length of input must be greater than the MAC

    GitHub | 3 years ago | tinfoilhat
    org.spongycastle.crypto.InvalidCipherTextException: Length of input must be greater than the MAC
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.spongycastle.crypto.InvalidCipherTextException: Mac codes failed to equal.

    GitHub | 3 years ago | tinfoilhat
    org.spongycastle.crypto.InvalidCipherTextException: Mac codes failed to equal.

    1 unregistered visitors

    Root Cause Analysis

    1. org.spongycastle.crypto.InvalidCipherTextException

      pad block corrupted

      at org.spongycastle.crypto.paddings.PKCS7Padding.padCount()
    2. Spongy Castle
      PaddedBufferedBlockCipher.doFinal
      1. org.spongycastle.crypto.paddings.PKCS7Padding.padCount(PKCS7Padding.java:63)[multibit-hd.jar:na]
      2. org.spongycastle.crypto.paddings.PaddedBufferedBlockCipher.doFinal(PaddedBufferedBlockCipher.java:287)[multibit-hd.jar:na]
      2 frames
    3. org.bitcoinj.crypto
      DeterministicKey.decrypt
      1. org.bitcoinj.crypto.KeyCrypterScrypt.decrypt(KeyCrypterScrypt.java:221)[multibit-hd.jar:na]
      2. org.bitcoinj.crypto.DeterministicKey.findOrDeriveEncryptedPrivateKey(DeterministicKey.java:405)[multibit-hd.jar:na]
      3. org.bitcoinj.crypto.DeterministicKey.decrypt(DeterministicKey.java:377)[multibit-hd.jar:na]
      4. org.bitcoinj.crypto.DeterministicKey.decrypt(DeterministicKey.java:41)[multibit-hd.jar:na]
      4 frames
    4. org.bitcoinj.core
      ECKey.decrypt
      1. org.bitcoinj.core.ECKey.decrypt(ECKey.java:1091)[multibit-hd.jar:na]
      1 frame
    5. org.bitcoinj.crypto
      DeterministicKey.decrypt
      1. org.bitcoinj.crypto.DeterministicKey.decrypt(DeterministicKey.java:388)[multibit-hd.jar:na]
      2. org.bitcoinj.crypto.DeterministicKey.decrypt(DeterministicKey.java:41)[multibit-hd.jar:na]
      2 frames
    6. org.bitcoinj.wallet
      DecryptingKeyBag.findKeyFromPubHash
      1. org.bitcoinj.wallet.DecryptingKeyBag.maybeDecrypt(DecryptingKeyBag.java:50)[multibit-hd.jar:na]
      2. org.bitcoinj.wallet.DecryptingKeyBag.findKeyFromPubHash(DecryptingKeyBag.java:67)[multibit-hd.jar:na]
      2 frames
    7. org.bitcoinj.core
      Wallet.signTransaction
      1. org.bitcoinj.core.TransactionOutPoint.getConnectedRedeemData(TransactionOutPoint.java:182)[multibit-hd.jar:na]
      2. org.bitcoinj.core.TransactionInput.getConnectedRedeemData(TransactionInput.java:316)[multibit-hd.jar:na]
      3. org.bitcoinj.core.Wallet.signTransaction(Wallet.java:3810)[multibit-hd.jar:na]
      3 frames
    8. org.multibit.hd
      BitcoinNetworkService$2.run
      1. org.multibit.hd.core.services.BitcoinNetworkService.signDirectly(BitcoinNetworkService.java:1035)[multibit-hd.jar:na]
      2. org.multibit.hd.core.services.BitcoinNetworkService.performSend(BitcoinNetworkService.java:391)[multibit-hd.jar:na]
      3. org.multibit.hd.core.services.BitcoinNetworkService.access$300(BitcoinNetworkService.java:61)[multibit-hd.jar:na]
      4. org.multibit.hd.core.services.BitcoinNetworkService$2.run(BitcoinNetworkService.java:344)[multibit-hd.jar:na]
      4 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[na:1.7.0_80]
      2. java.util.concurrent.FutureTask.run(Unknown Source)[na:1.7.0_80]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.7.0_80]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.7.0_80]
      5. java.lang.Thread.run(Unknown Source)[na:1.7.0_80]
      5 frames