Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github(login): Add a way to read ~/.netrc.gpg encrypted files #624

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 5, 2021

  1. 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!
    paulRbr committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    1f226aa View commit details
    Browse the repository at this point in the history