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

Gracefully recovery of identity.key.enc

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • core
    • None

    Description

      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)
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: