From df5bef0ec41c7b83a17bd5e8dbf4168b31c507cd Mon Sep 17 00:00:00 2001 From: Thomas S Hatch Date: Mon, 7 Mar 2011 17:17:10 -0700 Subject: [PATCH] Fix security issue with root access key --- salt/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/master.py b/salt/master.py index 92b107df67..6cb7367445 100644 --- a/salt/master.py +++ b/salt/master.py @@ -209,7 +209,7 @@ class ReqServer(threading.Thread): ''' This method sends out publications to the minions ''' - if not load['key'] == self.key: + if not load.pop('key') == self.key: return '' jid = self._prep_jid(load) payload = {'enc': 'aes'}