News for hackers. Stuff that matters.
Re:Secure Your REST API by bradleyjg on Wednesday April 17, 2013 @04:24PM (#5566934)
The one true solution is client authenticated TLS. For the life of me I can't understand why 25 years later certificate management is still such a mess. 

We don't need some perfect universally recognized root trust system to get started. Why doesn't the sign up process for authenticated API access routinely include the issuance of a certificate signed by the API owner?

Unlike for interactive users there's no expectation that a customer will be accessing an API from some random computer where he might not have access to his certificate store. 

Re:Secure Your REST API by tptacek on Wednesday April 17, 2013 @04:28PM (#5566962)
The user interface in browsers for client certificates is appalling.

The API support in client SSL libraries for managing multiple certificates, for applications with multiple API affiliations, is shaky.

I like TLS client authentication a lot, but it's hard to make it work.

Re:Secure Your REST API by bradleyjg on Wednesday April 17, 2013 @04:55PM (#5567174)
I agree it's awful to use, but what I don't understand is why no one has bothered to improve the tools.

It's one of those areas where the underlying tool (either a library like openssl or NSS, or an OS feature like SSPI) could do the hard work in one place and make it simple for downstream libraries to wrap the functionality.

In other, somewhat analogous, domains that happened, but for whatever reason not in this case.

Re:Secure Your REST API by chacham15 on Thursday April 18, 2013 @03:34AM (#5569335)
Look at the OpenSSL libraries for php regarding certificates. Its very close to unusable, you cannot get or set some pretty basic information like SANs.