javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_f.b(DashoA13? *..) at com.sun.crypto.provider.DESedeCipher.engineDoFin al(DashoA13? *..) at javax.crypto.Cipher.doFinal(DashoA13? *..)

oracle.com | 4 months ago
  1. 0

    Troubleshooting JVM Diagnostics

    oracle.com | 3 months ago
    javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_f.b(DashoA13? *..) at com.sun.crypto.provider.DESedeCipher.engineDoFin al(DashoA13? *..) at javax.crypto.Cipher.doFinal(DashoA13? *..)
  2. 0

    Troubleshooting JVM Diagnostics

    oracle.com | 4 months ago
    javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_f.b(DashoA13? *..) at com.sun.crypto.provider.DESedeCipher.engineDoFin al(DashoA13? *..) at javax.crypto.Cipher.doFinal(DashoA13? *..)
  3. 0

    Issuw with JBoss DB Pasword Encryption using jbosssx.jar

    Stack Overflow | 2 years ago
    javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_ab.b(DashoA13*..) at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(DashoA13*..) at javax.crypto.Cipher.doFinal(DashoA13*..)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    padded cypher, converting output correctly to hex and back.

    Oracle Community | 10 years ago | 843811
    javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_ab.b(DashoA13*..) at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(DashoA13*..) at javax.crypto.Cipher.doFinal(DashoA13*..)
  6. 0

    Using IE7 as browser => Launch the UI => The following error is logged in the nexus.log: 2008-11-18 09:09:21.156 WARN [btpool0-3:] - org.jsecurity.subject.AbstractRememberMeManager: There was a failure while trying to retrieve remembered principals. This could be due to a configuration problem or corrupted principals. This could also be due to a recently changed encryption key. The remembered identity will be forgotten and not used for this request. java.lang.IllegalStateException: Unable to crypt bytes with cipher [javax.crypto.Cipher@4ab40a]. at org.jsecurity.crypto.BlowfishCipher.crypt(BlowfishCipher.java:127) at org.jsecurity.crypto.BlowfishCipher.crypt(BlowfishCipher.java:142) at org.jsecurity.crypto.BlowfishCipher.decrypt(BlowfishCipher.java:98) at org.jsecurity.subject.AbstractRememberMeManager.decrypt(AbstractRememberMeManager.java:243) at org.jsecurity.subject.AbstractRememberMeManager.getRememberedPrincipals(AbstractRememberMeManager.java:192) at org.jsecurity.mgt.DefaultSecurityManager.getRememberedIdentity(DefaultSecurityManager.java:402) at org.jsecurity.web.DefaultWebSecurityManager.getPrincipals(DefaultWebSecurityManager.java:179) at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:217) at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:213) at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:202) at org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:417) at org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:424) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:367) at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:63) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.BlowfishCipher.engineDoFinal(DashoA13*..) at javax.crypto.Cipher.doFinal(DashoA13*..) at org.jsecurity.crypto.BlowfishCipher.crypt(BlowfishCipher.java:124) ... 31 more 2008-11-18 09:09:34.953 WARN [btpool0-4:] - org.jsecurity.subject.AbstractRememberMeManager: There was a failure while trying to retrieve remembered principals. This could be due to a configuration problem or corrupted principals. This could also be due to a recently changed encryption key. The remembered identity will be forgotten and not used for this request. java.lang.IllegalStateException: Unable to crypt bytes with cipher [javax.crypto.Cipher@6179e]. at org.jsecurity.crypto.BlowfishCipher.crypt(BlowfishCipher.java:127) at org.jsecurity.crypto.BlowfishCipher.crypt(BlowfishCipher.java:142) at org.jsecurity.crypto.BlowfishCipher.decrypt(BlowfishCipher.java:98) at org.jsecurity.subject.AbstractRememberMeManager.decrypt(AbstractRememberMeManager.java:243) at org.jsecurity.subject.AbstractRememberMeManager.getRememberedPrincipals(AbstractRememberMeManager.java:192) at org.jsecurity.mgt.DefaultSecurityManager.getRememberedIdentity(DefaultSecurityManager.java:402) at org.jsecurity.web.DefaultWebSecurityManager.getPrincipals(DefaultWebSecurityManager.java:179) at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:217) at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:213) at org.jsecurity.web.DefaultWebSecurityManager.createSubject(DefaultWebSecurityManager.java:202) at org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:417) at org.jsecurity.mgt.DefaultSecurityManager.getSubject(DefaultSecurityManager.java:424) at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:367) at org.sonatype.nexus.security.filter.NexusJSecurityFilter.doFilterInternal(NexusJSecurityFilter.java:63) at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488) Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.BlowfishCipher.engineDoFinal(DashoA13*..) at javax.crypto.Cipher.doFinal(DashoA13*..) at org.jsecurity.crypto.BlowfishCipher.crypt(BlowfishCipher.java:124) ... 31 more

    Sonatype JIRA | 8 years ago | Kristine O'Connor
    java.lang.IllegalStateException: Unable to crypt bytes with cipher [javax.crypto.Cipher@4ab40a].

    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.IllegalBlockSizeException

      Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_f.b(DashoA13? *..) at com.sun.crypto.provider.DESedeCipher.engineDoFin al(DashoA13? *..) at javax.crypto.Cipher.doFinal(DashoA13? *..)

      at jamagent.jamagent.decrypt()
    2. jamagent
      jaminit.init
      1. jamagent.jamagent.decrypt(jamagent.java:725)
      2. jamagent.jamagent.decrypt(jamagent.java:741)
      3. jamagent.jamagent.<init>(jamagent.java:799)
      4. jamagent.jaminit.init(jaminit.java:50)
      4 frames