saltstack/salt — pull request #1475 by grierj (2012-06-19 20:01:18+00:00)
Title: Protect against broken RSA keys

I noticed that when running in auto-accept mode that people running netcat or telnet can occasionally make queue workers bomb out. I tracked down the majority case to salt trying to load bad RSA keys. This just adds a layer of protection around those loads. There's still very occasional circumstances where regular port checking with netcat can make queue workers slowly die, but I haven't found out where yet.