org.bouncycastle.crypto.DataLengthException: input too large for RSA cipher.

Atlassian JIRA | Stefan Kohler | 4 years ago
  1. 0

    I'm trying to setup an application link to Confuence (5.1.2) from JIRA (6.0-beta1), without success. In the logfile of Confluence I discovered a stacktrace {code} [INFO] [talledLocalContainer] 2013-04-26 11:51:45,698 ERROR [http-1990-3] [[Catalina].[localhost].[/confluence].[noop]] log Servlet.service() for servlet noop threw exception [INFO] [talledLocalContainer] org.bouncycastle.crypto.DataLengthException: input too large for RSA cipher. [INFO] [talledLocalContainer] at org.bouncycastle.crypto.engines.RSACoreEngine.convertInput(Unknown Source) [INFO] [talledLocalContainer] at org.bouncycastle.crypto.engines.RSABlindedEngine.processBlock(Unknown Source) [INFO] [talledLocalContainer] at org.bouncycastle.jce.provider.JCERSACipher.engineDoFinal(Unknown Source) [INFO] [talledLocalContainer] at javax.crypto.Cipher.doFinal(DashoA13*..) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.BouncyCastleEncryptionProvider.decodeEncryptedCertificate(BouncyCastleEncryptionProvider.java:134) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.DefaultTrustedApplication.decode(DefaultTrustedApplication.java:85) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:102) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.authenticate(TrustedApplicationsFilter.java:113) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:95) [INFO] [talledLocalContainer] at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:30) {code} In the logfiles of JIRA is says {{com.atlassian.sal.api.net.ResponseException: Permission check failed, received 500}} Setting up the application link is no problem, but then trying to connect a project to a space will generate this error. Our plugin also depends on applinks, but the error is not limited to just our plugin ;-)

    Atlassian JIRA | 4 years ago | Stefan Kohler
    org.bouncycastle.crypto.DataLengthException: input too large for RSA cipher.
  2. 0

    I'm trying to setup an application link to Confuence (5.1.2) from JIRA (6.0-beta1), without success. In the logfile of Confluence I discovered a stacktrace {code} [INFO] [talledLocalContainer] 2013-04-26 11:51:45,698 ERROR [http-1990-3] [[Catalina].[localhost].[/confluence].[noop]] log Servlet.service() for servlet noop threw exception [INFO] [talledLocalContainer] org.bouncycastle.crypto.DataLengthException: input too large for RSA cipher. [INFO] [talledLocalContainer] at org.bouncycastle.crypto.engines.RSACoreEngine.convertInput(Unknown Source) [INFO] [talledLocalContainer] at org.bouncycastle.crypto.engines.RSABlindedEngine.processBlock(Unknown Source) [INFO] [talledLocalContainer] at org.bouncycastle.jce.provider.JCERSACipher.engineDoFinal(Unknown Source) [INFO] [talledLocalContainer] at javax.crypto.Cipher.doFinal(DashoA13*..) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.BouncyCastleEncryptionProvider.decodeEncryptedCertificate(BouncyCastleEncryptionProvider.java:134) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.DefaultTrustedApplication.decode(DefaultTrustedApplication.java:85) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:102) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.authenticate(TrustedApplicationsFilter.java:113) [INFO] [talledLocalContainer] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:95) [INFO] [talledLocalContainer] at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:30) {code} In the logfiles of JIRA is says {{com.atlassian.sal.api.net.ResponseException: Permission check failed, received 500}} Setting up the application link is no problem, but then trying to connect a project to a space will generate this error. Our plugin also depends on applinks, but the error is not limited to just our plugin ;-)

    Atlassian JIRA | 4 years ago | Stefan Kohler
    org.bouncycastle.crypto.DataLengthException: input too large for RSA cipher.
  3. 0

    NetBeans Forums - NetBeans 6.8 suddenly throwing "...input too large for RSA cipher."

    netbeans.org | 8 months ago
    org.bouncycastle.crypto.DataLengthException: input too large for RSA cipher.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PKI Crypto Error details [input too large for RSA cipher.]

    qnundrum.com | 11 months ago
    org.bouncycastle.crypto.DataLengthException: input too large for RSA cipher.
  6. 0

    Problem in decrypting the code

    Oracle Community | 7 years ago | 843811
    org.bouncycastle.crypto.DataLengthException: input too large for RSA cipher.

    1 unregistered visitors
    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. org.bouncycastle.crypto.DataLengthException

      input too large for RSA cipher.

      at org.bouncycastle.crypto.engines.RSACoreEngine.convertInput()
    2. BouncyCastle
      JCERSACipher.engineDoFinal
      1. org.bouncycastle.crypto.engines.RSACoreEngine.convertInput(Unknown Source)
      2. org.bouncycastle.crypto.engines.RSABlindedEngine.processBlock(Unknown Source)
      3. org.bouncycastle.jce.provider.JCERSACipher.engineDoFinal(Unknown Source)
      3 frames