Suddenly getting the following error when the openssl decryption of a file happens:
$ openssl aes-256-cbc -K $encrypted_abc123_key -iv $encrypted_abc123_iv -in encrypted_file.txt.enc -out decrypted_file.txt -d bad decrypt 140292960769688:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:evp_enc.c:555:
There have been no changes to the key/iv or the encrypted file and no changes to the .travis.yml. This has just started error within the last day or so.
Worker information hostname: email@example.com version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231 instance: travis-job-da333ed4-5ea6-4fb3-8149-3c808f7f4891 travis-ci-sardonyx-xenial-1643096237-31a09d16 (via amqp) startup: 6.739273267s 0.16s0.00s0.01s0.00s0.01s system_info Build system information Build language: ruby Build dist: xenial Build id: 246587813 Job id: 560011709 Runtime kernel version: 4.15.0-1098-gcp travis-build version: ea990e5f Build image provisioning date and time Tue Jan 25 08:00:00 UTC 2022 Operating System Details Distributor ID: Ubuntu Description: Ubuntu 16.04.7 LTS Release: 16.04 Codename: xenial
Also, don’t know if it’s related or not, but also having this issue when trying to debug: Debug builds taking a long time to start tmate
I have extracted the values travis is putting into the
$encrypted_abc123_iv vars and tried to decrypt locally and am getting the same error. However these values were NOT changed by us, which is leading me to believe that travis is inserting the wrong values into these vars.