java.lang.IllegalStateException

javax.crypto.IllegalBlockSizeException: Data must not be longer than 86 bytes

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web21

  • via GitHub by charliedumdum
    ,
  • via GitHub by yamen23ali
    ,
  • Stack trace

    • java.lang.IllegalStateException: javax.crypto.IllegalBlockSizeException: Data must not be longer than 86 bytes at svarzee.gps.gpsoauth.CipherUtil.pkcs1AoepEncode(CipherUtil.java:39) at svarzee.gps.gpsoauth.CipherUtil.createSignature(CipherUtil.java:26) at svarzee.gps.gpsoauth.Gpsoauth.performMasterLogin(Gpsoauth.java:57) at svarzee.gps.gpsoauth.Gpsoauth.performMasterLoginForToken(Gpsoauth.java:103) at svarzee.gps.gpsoauth.Gpsoauth.performMasterLoginForToken(Gpsoauth.java:90) at com.pokegoapi.auth.GoogleAutoCredentialProvider.login(GoogleAutoCredentialProvider.java:70) at com.pokegoapi.auth.GoogleAutoCredentialProvider.<init>(GoogleAutoCredentialProvider.java:63) at ink.abb.pogo.scraper.MainKt.getAuth(Main.kt:65) at ink.abb.pogo.scraper.MainKt.startBot(Main.kt:163) at ink.abb.pogo.scraper.MainKt.startDefaultBot(Main.kt:145) at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:57) at ink.abb.pogo.scraper.PokemonGoBotApplication$BotRunner$run$1.invoke(PokemonGoBotApplication.kt:46) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18) Caused by: javax.crypto.IllegalBlockSizeException: Data must not be longer than 86 bytes at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:344) at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:389) at javax.crypto.Cipher.doFinal(Cipher.java:2165) at svarzee.gps.gpsoauth.CipherUtil.pkcs1AoepEncode(CipherUtil.java:37) ... 12 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    ifercaiferca
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    2 more bugmates