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

Gracefully recovery of identity.key.enc

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: