You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,8 @@
1
+
1.3.0 / 2018-08-13
2
+
==================
3
+
4
+
* This release adds support for end to end encrypted channels, a new feature for Channels. Read more [in our docs](https://pusher.com/docs/client_api_guide/client_encrypted_channels).
Copy file name to clipboardExpand all lines: README.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ This package lets you trigger events to your client and query the state of your
8
8
9
9
In order to use this library, you need to have a free account on <http://pusher.com>. After registering, you will need the application credentials for your app.
10
10
11
+
This library requires you to be using at least Go 1.5 or greater.
12
+
11
13
## Table of Contents
12
14
13
15
-[Installation](#installation)
@@ -133,6 +135,28 @@ Setting the `pusher.Client`'s `Cluster` property will make sure requests are sen
133
135
```go
134
136
client.Cluster = "eu"// in this case requests will be made to api-eu.pusher.com.
135
137
```
138
+
#### End to End Encryption
139
+
140
+
This library supports end to end encryption of your private channels. This means that only you and your connected clients will be able to read your messages. Pusher cannot decrypt them. You can enable this feature by following these steps:
141
+
142
+
1. You should first set up Private channels. This involves [creating an authentication endpoint on your server](https://pusher.com/docs/authenticating_users).
143
+
144
+
2. Next, Specify your 32 character `EncryptionMasterKey`. This is secret and you should never share this with anyone. Not even Pusher.
3. Channels where you wish to use end to end encryption should be prefixed with `private-encrypted-`.
156
+
157
+
4. Subscribe to these channels in your client, and you're done! You can verify it is working by checking out the debug console on the https://dashboard.pusher.com/ and seeing the scrambled ciphertext.
158
+
159
+
**Important note: This will not encrypt messages on channels that are not prefixed by private-encrypted-.**
0 commit comments