com.box.sdk.BoxAPIException: Error parsing private key for Box Developer Edition.

GitHub | mekhatri1 | 4 months ago
  1. 0

    GitHub comment 286#239034320

    GitHub | 4 months ago | zzoi
    com.box.sdk.BoxAPIException: Error parsing private key for Box Developer Edition.
  2. 0

    AES encryption attempt fails - Given final block not properly padded maybe

    Stack Overflow | 2 years ago
    javax.crypto.BadPaddingException: Given final block not properly padded
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Java to JS and JS to Java encryption using cryptojs

    Stack Overflow | 2 years ago
    javax.crypto.BadPaddingException: Given final block not properly padded
  5. 0

    Is Java security module KeyGenerator thread safe? If not then how to fix it?

    Stack Overflow | 2 years ago | tribbloid
    javax.crypto.BadPaddingException: Given final block not properly padded
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.crypto.BadPaddingException

    Given final block not properly padded

    at com.sun.crypto.provider.CipherCore.doFinal()
  2. com.sun.crypto
    AESCipher.engineDoFinal
    1. com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:966)
    2. com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:824)
    3. com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:436)
    3 frames
  3. Android Platform
    Cipher.doFinal
    1. javax.crypto.Cipher.doFinal(Cipher.java:2165)
    1 frame
  4. Bouncy Castle PKIX, CMS, EAC, TSP, PKCS, OCSP, CMP, and CRMF APIs
    JcePEMDecryptorProviderBuilder$1$1.decrypt
    1. org.bouncycastle.openssl.jcajce.PEMUtilities.crypt(Unknown Source)
    2. org.bouncycastle.openssl.jcajce.JcePEMDecryptorProviderBuilder$1$1.decrypt(Unknown Source)
    2 frames
  5. BouncyCastle
    PEMEncryptedKeyPair.decryptKeyPair
    1. org.bouncycastle.openssl.PEMEncryptedKeyPair.decryptKeyPair(Unknown Source)
    1 frame
  6. com.box.sdk
    BoxDeveloperEditionAPIConnection.getAppEnterpriseConnection
    1. com.box.sdk.BoxDeveloperEditionAPIConnection.decryptPrivateKey(BoxDeveloperEditionAPIConnection.java:373)
    2. com.box.sdk.BoxDeveloperEditionAPIConnection.constructJWTAssertion(BoxDeveloperEditionAPIConnection.java:327)
    3. com.box.sdk.BoxDeveloperEditionAPIConnection.authenticate(BoxDeveloperEditionAPIConnection.java:237)
    4. com.box.sdk.BoxDeveloperEditionAPIConnection.tryRestoreUsingAccessTokenCache(BoxDeveloperEditionAPIConnection.java:305)
    5. com.box.sdk.BoxDeveloperEditionAPIConnection.getAppEnterpriseConnection(BoxDeveloperEditionAPIConnection.java:169)
    5 frames
  7. com.wellmanage.revport
    CreateAppUser.main
    1. com.wellmanage.revport.portal.bo.CreateAppUser.main(CreateAppUser.java:47)
    1 frame