Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Alagu Sundaram
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 22, 2021

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
AUG Leaders

Atlassian Community Events