From 38e3dfffae138a093138cec3b439cdeb61338ffa Mon Sep 17 00:00:00 2001 From: Lauri Tirkkonen Date: Tue, 8 Jan 2019 00:11:02 +0200 Subject: [PATCH] use uuid4() instead of uuid1() uuid1() shells out to ifconfig/netstat/whatever, plus has privacy concerns since it could embed identifying information --- src/modules/client/publisher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/client/publisher.py b/src/modules/client/publisher.py index 247d1e6d..db393f69 100644 --- a/src/modules/client/publisher.py +++ b/src/modules/client/publisher.py @@ -2295,7 +2295,7 @@ pkg unset-publisher {0} def reset_client_uuid(self): """Replaces the current client_uuid with a new UUID.""" - self.__client_uuid = str(uuid.uuid1()) + self.__client_uuid = str(uuid.uuid4()) def validate_config(self, repo_uri=None): """Verify that the publisher's configuration (such as prefix) -- 2.11.4.GIT