A command line application that encrypts passwords for use with Travis CI.
Project description
Travis Encrypt is a Python command line application that provides a way to encrypt passwords and environment variables for use with Travis CI. This application intends to be a replacement for the Travis Ruby client as that client is not maintained and does not provide detail regarding password encryption.
All passwords and environment variables are encrypted with the PKCS1v15 padding scheme until Travis-CI updates its protocols.
Installation
To install Travis Encrypt simply run the following command in a terminal window:
$ pip install travis-encrypt
If you would rather install from source, run the following commands in a terminal window:
$ git clone https://github.com/mandeep/Travis-Encrypt.git $ cd Travis-Encrypt $ python setup.py install
Travis Encrypt will attempt to install the cryptography package, however the package requires headers for Python. If installation fails, please see the cryptography installation guide: https://cryptography.io/en/latest/installation/
Usage
With Travis Encrypt installed, the command line application can be invoked with the following command and mandatory arguments:
travis-encrypt [OPTIONS] GITHUB_USERNAME REPOSITORY PATH Example of password encryption: travis-encrypt mandeep Travis-Encrypt /home/user/.travis.yml Example of environment variable encryption: travis-encrypt --env mandeep Travis-Encrypt /home/user/.travis.yml
The application will then issue a mandatory password prompt. Once the password is filled, Travis Encrypt will write the encrypted password or environment variable to the given .travis.yml file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for travis_encrypt-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 239c7c1b7bdff9c5c7e216933e5ee685156b7a1d3650b7b2679d521b02b72aea |
|
MD5 | d7095a9ed811025fe64f28170d55e5f1 |
|
BLAKE2b-256 | fc25ccc963e4a1e25eeada5ba3688acf316ae58891aad02d9c36013debc7d06d |