Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-20969

Can't use encrypted password for docker task credentials

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.10.0
    • Docker, Security
    • None

    Description

      Issue Summary

      Encrypt password with Specs > Bamboo Specs encryption and then use it as password for Docker pull\push task at another Bamboo instance. Bamboo fails to execute this task

      Steps to Reproduce

      1. See description

      Expected Results

      Provided value is encrypted when entered and decrypted when required

      Actual Results

      Task fails with error:

      Caused by: org.bouncycastle.crypto.InvalidCipherTextException: pad block corrupted
      	at org.bouncycastle.crypto.paddings.PKCS7Padding.padCount(Unknown Source)
      	at org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.doFinal(Unknown Source)
      	at com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceInternalImpl.decrypt(SecretEncryptionServiceInternalImpl.java:131)
      	... 105 more
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              achystoprudov Alexey Chystoprudov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: