We have a strange issue with our builds happening at the moment. I will try to explain the issue as the only output from the build is decrypt failed.
Currently i am in the process of migrating an application to a new version. The sole purpose of my branch is to do this upgrade. This involves changing some of out secret .env file value. Specifically the key name.
I then encrypt this file and commit the sec file which is then decrypted on build and applied to the build.
My build will then pass and no issues are raised. Someone else on my team working on a different branch will then submit a change and the decrypt command will then fail. They have not touched the .env files and have not submitted a change to the sec file. They then have to re-encrypt the files and submit them. Which then fails by build when i push again. And so on.
Not sure if i have explained this well but if anyone has any insight into what might be going on in the background of encrypt and decrypt it would be appreciated.