I have an iOS 5 App that consumes webservices from a Rails 3 server. One of the requirements of the application is that all the communication App -> Server -> must be encrypted by some sort of shared key.
That shared key should be used to sign all the messages sent from and to the server, so only the other side can decrypt it.
I am so lost on this topic and need some help.
Any guidelines? Any gems? iOS framework? Example?
THANKS!
I came across a great article on this topic: http://www.thebuzzmedia.com/designing-a-secure-rest-api-without-oauth-authentication/
Amazon uses this kind of approach.