2

i use following travis-ci-cli command to create an encrypted-file:

travis encrypt-file src/env/data.ts src/env/data.ts.enc --add

It creates the file and related key and value on the Travis-CI.

You can see error of travis

Why do i get the wrong final block length here?

Justin Mind
  • 93
  • 10

1 Answers1

0

This error is a known problem when encrypting files using the Travis CLI on Windows.

Travis provides a guide here that will help you encrypt your local files with a passphrase and then store that passphrase using travis encrypt.

If you'd rather not do that, you'll have to either use Windows Subsystem for Linux or use a Linux VM to run travis encrypt-file.

Zach Bloomquist
  • 5,309
  • 29
  • 44