"bad decrypt" when decrypting file

I added a file to my repository which was encrypted with the following command:

travis encrypt-file christianost-travis

Now in my build, the decryption fails (see https://travis-ci.com/github/ca057/christianost.de/builds/154393385#L314):

bad decrypt
140187749007808:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:537:

Any idea why this is happening or what I can do to workaround? My local openssl version is LibreSSL 3.0.2.

Hm, I did that already multiple times… Anyway, I did it another time with the pre-release version of the travis CLI tool and now it seems to be working! Thanks for pushing me into another round of encrypting :slight_smile:

1 Like