You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Master: 3004.1
Minion: 3007.0
the keys are the "same" however the payload pub_key has has a newline char at the end causing fail...
related code:
/salt/crypt.py
with salt.utils.files.fopen(m_pub_fn) as fp_:
local_master_pub = clean_key(fp_.read())
if payload["pub_key"] != local_master_pub:
Adding clean_key(payload["pub_key"]) works around it.
with salt.utils.files.fopen(m_pub_fn) as fp_:
local_master_pub = clean_key(fp_.read())
payload["pub_key"] = clean_key(payload["pub_key"])
if payload["pub_key"] != local_master_pub:
other kinda related bug is if you have pki files in two places havent tested latest master code.. I think the salt-master should perhaps fail in this case. Seen strangeness where the master.pub key would flip flop because i had different ones in the paths.
/etc/salt/pki/master
/var/lib/salt/pki/master
The text was updated successfully, but these errors were encountered:
Master: 3004.1
Minion: 3007.0
the keys are the "same" however the payload pub_key has has a newline char at the end causing fail...
related code:
other kinda related bug is if you have pki files in two places havent tested latest master code.. I think the salt-master should perhaps fail in this case. Seen strangeness where the master.pub key would flip flop because i had different ones in the paths.
The text was updated successfully, but these errors were encountered: