[chirp_devel] [PATCH] Remove clear text logging of password from rfinder module. Fixes #9159
# HG changeset patch # User Kosta A. ve7kcy@gmail.com # Date 1625377365 25200 # Sat Jul 03 22:42:45 2021 -0700 # Branch nopw-dump # Node ID f03947f6890fff13368a9d82238cb89fa7b22343 # Parent 3f1750f3b24d3bb44d2956cc839aa3ef7c04fe69 Remove clear text logging of password from rfinder module. Fixes #9159
diff --git a/chirp/drivers/rfinder.py b/chirp/drivers/rfinder.py --- a/chirp/drivers/rfinder.py +++ b/chirp/drivers/rfinder.py @@ -177,8 +177,6 @@
def fetch_data(self, user, pw, coords, radius): """Fetches the data for a set of parameters""" - LOG.debug(user) - LOG.debug(pw) args = { "email": urllib.quote_plus(user), "pass": hashlib.new("md5", pw).hexdigest(), @@ -191,8 +189,6 @@ _url = "https://www.rfinder.net/query.php?%s" % \ ("&".join(["%s=%s" % (k, v) for k, v in args.items()]))
- LOG.debug("Query URL: %s" % _url) - f = urllib.urlopen(_url) data = f.read() f.close()
participants (1)
-
Kosta A.