mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fim master key decrypt
This commit is contained in:
parent
29bb08c662
commit
57779dea8a
1 changed files with 1 additions and 1 deletions
|
@ -1085,7 +1085,7 @@ class MasterPubServerChannel:
|
|||
peer = data["peer_id"]
|
||||
aes = data["peers"][self.opts["id"]]["aes"]
|
||||
sig = data["peers"][self.opts["id"]]["sig"]
|
||||
key_str = self.master_key.master_private_decrypt(aes)
|
||||
key_str = self.master_key.master_key.decrypt(aes)
|
||||
digest = salt.utils.stringutils.to_bytes(
|
||||
hashlib.sha256(key_str).hexdigest()
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue