java.lang.RuntimeException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher

atlassian.com | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Beware of Hash Cookies | Atlassian Blogs

    atlassian.com | 7 months ago
    java.lang.RuntimeException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher

    Root Cause Analysis

    1. java.lang.RuntimeException

      javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher

      at com.atlassian.seraph.util.EncryptionUtils.decrypt()
    2. com.atlassian.seraph
      DefaultAuthenticator.getUser
      1. com.atlassian.seraph.util.EncryptionUtils.decrypt(EncryptionUtils.java:77)
      2. com.atlassian.seraph.cookie.EncryptedCookieEncoder.decodePasswordCookie(EncryptedCookieEncoder.java:43)
      3. com.atlassian.seraph.auth.DefaultAuthenticator.decodeCookie(DefaultAuthenticator.java:393)
      4. com.atlassian.seraph.auth.DefaultAuthenticator.getUserFromCookie(DefaultAuthenticator.java:245)
      5. com.atlassian.seraph.auth.DefaultAuthenticator.getUser(DefaultAuthenticator.java:221)
      5 frames