mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
encrypt the authentication reply
This commit is contained in:
parent
4e2b8d741d
commit
e1eb02751a
1 changed files with 2 additions and 2 deletions
|
@ -140,7 +140,7 @@ class ReqServer(threading.Thread):
|
|||
'''
|
||||
pass
|
||||
|
||||
def _handle_aes(self. load):
|
||||
def _handle_aes(self, load):
|
||||
'''
|
||||
Handle a command sent via an aes key
|
||||
'''
|
||||
|
@ -172,7 +172,7 @@ class ReqServer(threading.Thread):
|
|||
'token': self.master_key.token,
|
||||
'aes': self.opts['aes'],
|
||||
'publish_port': self.opts['publish_port']}
|
||||
ret['load'] = key.
|
||||
ret['load'] = key.encrypt_private(salt.payload.packag(load))
|
||||
|
||||
def run(self):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue