Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github(login): Add a way to read ~/.netrc.gpg encrypted files
I usually don't store authentication information in plain text in my home directory. Instead most of my secrets are stored in *.gpg files which can be read by relevant applications if my GPG key has been unlocked in my X session. The current implementation of travis.rb only reads ~/.netrc for `--auto` logins. It would be nice for the cli to also be able to read `~/.netrc.gpg` file. This PR adds a system (`Open3.capture3`) call to the `gpg` binary because users using `*.gpg` files would probably always have the binary available in their path. Thanks!
- Loading branch information