lib/travis/cli/encrypt_file.rb in travis-1.8.12.pre.rc1 vs lib/travis/cli/encrypt_file.rb in travis-1.8.12.travis.1101.9
- old
+ new
@@ -65,10 +65,10 @@
travis_config[stage].unshift(command)
save_travis_config
end
def decrypt_command(path)
- "openssl aes-256-cbc -K $#{env_name(path, :key)} -iv $#{env_name(path, :iv)} -in #{escape_path(path)} -out #{escape_path(decrypt_to)} -d"
+ "openssl aes-256-cbc -K $#{env_name(:key)} -iv $#{env_name(:iv)} -in #{escape_path(path)} -out #{escape_path(decrypt_to)} -d"
end
def set_env_vars(input_path)
say "storing secure env variables for decryption"
repository.env_vars.upsert env_name(input_path, :key), key, :public => false