Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29240

Gracefully recovery of identity.key.enc

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      The stacktrace below suggests that identity.key.enc was present somehow malformed.

      javax.crypto.BadPaddingException: Given final block not properly padded
          at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:811)
          at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:676)
          at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:313)
          at javax.crypto.Cipher.doFinal(Cipher.java:2087)
          at org.jenkinsci.main.modules.instance_identity.InstanceIdentity.<init>(InstanceIdentity.java:60)
      

            fbelzunc Félix Belzunce Arcos
            fbelzunc Félix Belzunce Arcos
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: