From d45dde648fd810f96f34157e78a719b9774f8921 Mon Sep 17 00:00:00 2001 From: Erica Date: Fri, 4 Aug 2023 19:59:57 +0000 Subject: [PATCH] Updated README.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index f11eb66..8a23162 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 ----------