B
B
Bogdan2018-06-20 16:29:00
Continuous Integration
Bogdan, 2018-06-20 16:29:00

Travis file decryption?

Hello. Please tell me I'm doing

travis encrypt-file id_rsa --add
          
encrypting id_rsa for ***
storing result as id_rsa.enc
DANGER ZONE: Override existing id_rsa.enc? |no| yes
storing secure env variables for decryption
not logged in - try running travis login --org

the file is encrypted but now it is not clear where to get the variables for decryption
openssl aes-256-cbc -K $encrypted_<...>_key -iv $encrypted_<...>_iv -in deploy_rsa.enc -out /tmp/deploy_rsa -d

where can I get these $encrypted_<...>_key and $encrypted_<...>_iv?
the doc is written clearly
You can also use --add to have it automatically add the decrypt command to your .travis.yml

tried under WIndows 10 and CentOS for some reason does not add a decryption line to .travis.yml?
Can you suggest how to solve the problem? Thank you.
P.S. I want to set up a deployment to a VSP via SSH. maybe someone did and will share the config. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MrZven, 2020-07-19
@MrZven

Log in. He also writes in the console not logged in - try running travis login --org
travis login --org

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question