basho/riak_api — pull request #35 by Vagabond (2013-09-16 20:13:26+00:00)
Title: Add security to Riak

This PR adds security to the PB API as well as implementing security for the API endpoints riak_api exposes for riak_core.

The PB API now has a sort of pre-session handshake that is done, as illustrated by the flow-chart below:

![protobuffs_security](https://f.cloud.github.com/assets/86412/1152391/1464b968-1f0c-11e3-88a9-f49ced35e9d7.png)

To facilitate this, riak_api_pb_server was rewritten to be a gen_fsm.