News for hackers. Stuff that matters.
Re:Salt: Like Puppet, Except It Doesn’t Suck by tptacek on Monday June 24, 2013 @11:33AM (#5933548)
Awesome. How many people have reviewed it for flaws? How many people have reviewed OpenSSH?
Re:Salt: Like Puppet, Except It Doesn’t Suck by emidln on Monday June 24, 2013 @12:43PM (#5934055)
How many people have reviewed Paramiko? In particular, how about that ecdsa patch[1] to Paramiko that you'll need to be accessing modern Ubuntu or Fedora (and before long, RHEL/CentOS). What about the python-ecdsa[2] (that paramiko's provisional support for modern Fedora and Ubuntu's default configs is based on)? This entry from its README seems pretty frightening:

    This library does not protect against timing attacks. 
    Do not allow attackers to measure how long it takes you 
    to generate a keypair or sign a message. This library
    depends upon a strong source of random numbers. Do not
    use it on a system where os.urandom() is weak.
I'm not saying Paramiko (or its patch sets) are insecure, just pointing out that the same arguments can be made against the libraries and code that Ansible is based on.

[1] - https://github.com/paramiko/paramiko/pull/152

[2] - https://github.com/warner/python-ecdsa

Re:Salt: Like Puppet, Except It Doesn’t Suck by dsl on Monday June 24, 2013 @02:37PM (#5934801)
> Do not use it on a system where os.urandom() is weak.

So, don't use it in the cloud? [1]

1. http://harvey.binghamton.edu/~ychen/chen-kerrigan.pdf

Re:Salt: Like Puppet, Except It Doesn’t Suck by dzderic on Monday June 24, 2013 @05:45PM (#5935901)
After finishing the Cousera crypto course, I did a quick review of their approach and found 2 issues which completely broke their authentication protocol (https://github.com/saltstack/salt/issues/2239 & https://github.com/saltstack/salt/issues/2916).
Re:Salt: Like Puppet, Except It Doesn’t Suck by anthonyb on Monday June 24, 2013 @08:50PM (#5936771)
Which they seemed to fix pretty quickly, mainly by migrating to keyczar.
Re:Salt: Like Puppet, Except It Doesn’t Suck by tech-dragon on Monday June 24, 2013 @11:53PM (#5937414)
Which is one of the reasons I like them as much as I do. I can watch the iterations, they work hard on their product are committed to open source, and release regularly and often.

The other big win for me is I can read their code, I understand python & have a number of items I'll be able to contribute to upstream that will help others use the product.

Re:Salt: Like Puppet, Except It Doesn’t Suck by ipmb on Monday June 24, 2013 @11:51AM (#5933682)
If it's a concern, just lock it up behind iptables. Only let your master talk to your minions and your minions can only talk to your master.
Re:Salt: Like Puppet, Except It Doesn’t Suck by tptacek on Monday June 24, 2013 @12:06PM (#5933789)
I'm not telling you it's malpractice to use it that way, but we wouldn't.
Re:Salt: Like Puppet, Except It Doesn’t Suck by ipmb on Monday June 24, 2013 @12:21PM (#5933907)
Why?
Re:Salt: Like Puppet, Except It Doesn’t Suck by JoachimSchipper on Monday June 24, 2013 @01:43PM (#5934465)
I'm not tptacek, but note that IP addresses are not exactly cryptographically secured. If you only restrict access by IP address, you tend to lose your whole intranet as soon as one host falls.

(Then again, that's how it usually goes anyway.)

Re:Salt: Like Puppet, Except It Doesn’t Suck by 23david on Monday June 24, 2013 @11:53AM (#5933694)
Maybe they should hire you to review it for security flaws?