Fix security issue with root access key

This commit is contained in:
Thomas S Hatch 2011-03-07 17:17:10 -07:00
parent e96c559064
commit df5bef0ec4

View File

@ -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'}