Giter Site home page Giter Site logo

Error in Travis CI build, bad decrypt, digital envelope routines:EVP_DecryptFinal_ex:wrong final block length:evp_enc.c:518: about sfdx-travisci HOT 1 CLOSED

forcedotcom avatar forcedotcom commented on July 26, 2024
Error in Travis CI build, bad decrypt, digital envelope routines:EVP_DecryptFinal_ex:wrong final block length:evp_enc.c:518:

from sfdx-travisci.

Comments (1)

ImagineCRM-vcs avatar ImagineCRM-vcs commented on July 26, 2024

Finally, I was able to solve it.

The reasons why this was failing:

Trailhead module information about login is out of date, travis login --org was not working- keep throwing "Not found" exception, so I solved it using travis login --org --github-token.
When using travis encrypt-file path-to-secret-file/secret-file.txt path-to-secret-file/secret-file.txt.enc --add I wasn't providing the endpoint, in this case since I was logged to the Org end-point I needed to specify the same in the command by adding --org at the end.
Since Travis-org is moving soon to Travis-com, and Travis-org only fetches public repositories, I needed to move this to Travis-com, so I logged out and logged in again but this time pointing to --com in both commands (login and encrypt-file).
Taking these 3 considerations I was able (finally) to make it work.

Is pretty bad not having this information accessible.

Only information that gave me an idea of what probably was happening was this banner.

from sfdx-travisci.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.