• 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)
      

          [JENKINS-29240] Gracefully recovery of identity.key.enc

          Félix Belzunce Arcos added a comment - https://github.com/jenkinsci/instance-identity-module/pull/2

            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: