From f86b2f6591efb9a147cb6cd6be7e8f5ec3a3065d Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 8 Sep 2023 10:01:59 +0200 Subject: pkgdev_bugs: add warning about using --api-key, document ~/.bugz_token Signed-off-by: Florian Schmaus Closes: https://github.com/pkgcore/pkgdev/pull/159 Signed-off-by: Arthur Zamarin --- src/pkgdev/scripts/pkgdev_bugs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pkgdev/scripts/pkgdev_bugs.py b/src/pkgdev/scripts/pkgdev_bugs.py index 0a63077..48eb13d 100644 --- a/src/pkgdev/scripts/pkgdev_bugs.py +++ b/src/pkgdev/scripts/pkgdev_bugs.py @@ -42,7 +42,9 @@ bugs.add_argument( metavar="KEY", help="Bugzilla API key", docs=""" - The Bugzilla API key to use for authentication. + The Bugzilla API key to use for authentication. WARNING: using this + option will expose your API key to other users of the same system. + Consider instead saving your API key in a file named ~/.bugz_token. """, ) bugs.add_argument( -- cgit v1.2.3-65-gdbad