This month, we launched end-to-end encryption for the Pusher Channels Ruby library.
Pusher <3 Ruby
Pusher has a long history of supporting Ruby developers and Channels is the best solution for handling long-lived connections in Rails. While Rails now has more features to help with long-lived connections, such as Action Cable, there are still many benefits to using Channels which aren’t solved with Action Cable.
2. Decoupling. This is not only useful for holding long lived connections during deployment, but means we can handle the scaling of your WebSocket traffic without it affecting the rest of your application.
3. Presence functionality out of the box. By using the presence feature to make others aware of who is subscribed to a channel you can build collaboration, chat rooms, gaming presence and more.
E2EE for our Ruby library
A few months ago we launched the end-to-end encryption feature in general availability for Pusher channels. A number of libraries were supported by default and the response was fantastic. We’ve now had requests from many users to add it to more of the Pusher SDKs.
We saw huge demand from our Ruby community to add support for the feature. You can find the new version here.
End-to-end encryption is an important tool to help you enforce the principle of least privilege. It removes Pusher from the list of privileged entities that can read and write sensitive data such as prescription requests.
Many of our users prefer to err on the side of caution when sending data through other systems, and we don’t want to have access to any sensitive data that you’d rather we didn’t see and that we don’t need to!
How to get started
You can quickly switch to end-to-end encryption by following these steps:
1. Add the rbnacl gem to your Gemfile (this is not a gem dependency).