Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,102
Community Members
 
Community Events
165
Community Groups

Post upgrade some of the bamboo builds are failing with the cypher decryption error.

Hi, We upgraded Bamboo to version 8.0.4. Post upgrade some of the bamboo builds are failing with the cypher decryption error.

Need support to fix this issue.

 

Caused by: java.lang.RuntimeException: org.bouncycastle.crypto.InvalidCipherTextException: pad block corrupted

        at com.google.common.base.Throwables.propagate(Throwables.java:241)

        at com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceInternalImpl.decrypt(SecretEncryptionServiceInternalImpl.java:133)

        at com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceInternalImpl.decrypt(SecretEncryptionServiceInternalImpl.java:103)

        at sun.reflect.GeneratedMethodAccessor289.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)

        at com.sun.proxy.$Proxy147.decrypt(Unknown Source)

        at com.atlassian.bamboo.crypto.instance.SecretEncryptionServiceImpl.decrypt(SecretEncryptionServiceImpl.java:31)

        at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)

        at com.sun.proxy.$Proxy209.decrypt(Unknown Source)

        at com.atlassian.bamboo.variable.VariableDefinitionManagerImpl.decrypt(VariableDefinitionManagerImpl.java:226)

        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)

        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)

        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)

        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)

        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)

        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)

        at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)

        at com.atlassian.bamboo.variable.VariableDefinitionManagerImpl.decrypt(VariableDefinitionManagerImpl.java:235)

        at com.atlassian.bamboo.variable.VariableDefinitionManagerImpl.getPlanVariables(VariableDefinitionManagerImpl.java:118)

        at com.atlassian.bamboo.plan.cache.AbstractImmutablePlan$VariableListLazyReference.create(AbstractImmutablePlan.java:340)

        at com.atlassian.bamboo.plan.cache.AbstractImmutablePlan$VariableListLazyReference.create(AbstractImmutablePlan.java:330)

        at io.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:332)

        at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:150)

        ... 40 more

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)

        ... 68 more

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

967 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you