Skip to content

Commit

Permalink
Add brew formula directions
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Coffman committed Jun 29, 2019
1 parent 2384087 commit 6fe4c76
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@ keyfob is a two-factor authentication agent suitable for AWS and Github. Works p

## Installation

If you're on a mac, you can just do this:
If you use homebrew:

```
brew tap StevenACoffman/keyfob
brew install keyfob
```
Any subsequent releases should get picked up automatically with `brew upgrade`

If don't use homewbrew, and you're on a mac, you can just do this:

wget -O - https://raw.githubusercontent.com/StevenACoffman/keyfob/master/install.sh | bash


This will download the github 0.1.0 binary release for mac, and move any of your MFA secrets from `2fa` over to your keychain.
This will download the github 0.3.0 binary release for mac, and move any of your MFA secrets from `2fa` over to your keychain.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Script will snarf secrets from 2fa file
if [ ! -x "$(command -v keyfob)" ]; then
echo "keyfob is not installed, so I'm going to go grab the mac one for you"
wget -O - https://github.com/StevenACoffman/keyfob/releases/download/v0.1.0/keyfob_0.1.0_Darwin_x86_64.tar.gz | tar xzvf
wget -O - https://github.com/StevenACoffman/keyfob/releases/download/v0.3.0/keyfob_0.3.0_Darwin_x86_64.tar.gz | tar xzvf
mkdir -p /usr/local/bin
mv keyfob /usr/local/bin
fi
Expand Down

0 comments on commit 6fe4c76

Please sign in to comment.