News for hackers. Stuff that matters.
Re:Keywhiz: Square's system for distributing and managing se... by kbar13 on Tuesday April 21, 2015 @01:58PM (#9415795)
Re:Keywhiz: Square's system for distributing and managing se... by bradleyjg on Tuesday April 21, 2015 @02:31PM (#9415997)
I saw a reference to that PKI package in the linked article, but it doesn't really answer the question.

A newly brought up server can generate its own private key and issue a key signing request to a certificate authority, but how does the CA server authenticate the request? You still need a shared secret (perhaps implicitly through the username / password of an administrator doing things manually).

Any way you cut it, I don't see how you avoid this problem outlined in the article: "Common practices include putting secrets in config files next to code or copying files to servers out-of-band. The former is likely to be leaked and the latter difficult to track."

I do take the point made by some of the sibling comments that this allows for better mitigation of the damage in the case of the loss of the bootstrap shared secret, and I can certainly see the value in that.

Re:Keywhiz: Square's system for distributing and managing se... by brazzledazzle on Tuesday April 21, 2015 @03:12PM (#9416304)
Perhaps similar to how new versions of puppet let you provide custom attributes (like a pre-shared key) as part of the request so you can do verification on your issuer and build the secret into your boot strap process. A key compromise would simply require a rotation on your issuer and your boot strap process.
Re:Keywhiz: Square's system for distributing and managing se... by cssx on Tuesday April 21, 2015 @02:46PM (#9416100)
You can solve this by having a bootstrapping process that issues the appropriate credentials when bringing up a new server.
Re:Keywhiz: Square's system for distributing and managing se... by donavanm on Tuesday April 21, 2015 @07:29PM (#9417868)
And how do you trust the identity of the new server/instance during boot strapping?
Re:Keywhiz: Square's system for distributing and managing se... by 0x44 on Wednesday April 22, 2015 @03:48AM (#9419038)
You could leverage the TPM and some version of remote attestation and only permit key-requests from attested machines. Alternatively (or concurrently), you could PXE boot all devices with a parameterized shared-secret individualized for each node.
Re:Keywhiz: Square's system for distributing and managing se... by 0xdeadbeefbabe on Tuesday April 21, 2015 @02:58PM (#9416193)
I'm getting the feeling they don't like something about etcd or raft or both. Is that accurate? I noticed certstrap was adapted from etcd-ca.