Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
GuardKenzie committed Aug 4, 2023
1 parent ff2259e commit d45dde6
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ Usage
$ gauth Google -b
477615

- Run `gauth KEYNAME -s` to retrieve an accounts secret from the config.

$ gauth Google -s
your_secret_for_google

- `gauth` is convenient to use in `watch`.

$ watch -n1 gauth
Expand All @@ -53,6 +58,22 @@ Usage
from an existing Google Authenticator setup, on a phone to which you do not
have root access), then [gauthQR](https://github.com/jbert/gauthQR) may be useful.


Adding and removing keys
------------------------

- Run `gauth KEYNAME -a` to add a new key.

$ gauth Google -a
Key for Google: examplekey
Current OTP for Google: 306726

- Run `gauth KEYNAME -r` to remove an existing key.

$ gauth Google -r
Are you sure you want to remove Google [y/N]: y
Google has been removed.

Encryption
----------

Expand Down

0 comments on commit d45dde6

Please sign in to comment.