travis-ci / travis.rb

Travis CI Client (CLI and Ruby library)
MIT License
1.59k stars 409 forks source link

travis encrypt/decrypt failing #643

Open Ricool06 opened 5 years ago

Ricool06 commented 5 years ago

Running travis encrypt DOCKER_USERNAME=<secret value> --add adds an encrypted value to .travis.yml, however upon pushing and viewing the job log, something like this would appear:

Setting environment variables from repository settings
$ export yKjyhuk67jji=[secure]
$ export krgoreve8yktackrw=[secure]

It appears as if Travis is decrypting my env vars into total junk. Tried:

piotrmoszkowicz commented 5 years ago

+1 Same for me, using macOS 10.14.3. Before it was working, right now same stuff - variables are getting strange names, so smth with encryption doesn't work properly.

PeterPetrik commented 5 years ago

mixed "--org" and "--com" Be sure to be on the same Travis version (com vs org) in your CLI and the web interface.