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
|host `String`|**Default:`None`** <br> The host to connect to |
87
87
|port `int`|**Default:`None`** <br>Which port to connect to |
88
88
|ssl `bool`|**Default:`True`** <br> Use HTTPS |
89
-
|encryption_master_key`String`|**Default:`None`** <br> The encryption master key for End-to-end Encryption |
89
+
|encryption_master_key_base64`String`|**Default:`None`***deprecated* <br> The encryption master key for End-to-end Encryption |
90
90
|backend `Object`| an object that responds to the `send_request(request)` method. If none is provided, a `pusher.requests.RequestsBackend` instance is created. |
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:
290
+
This library supports end to end encryption of your private channels. This
291
+
means that only you and your connected clients will be able to read your
292
+
messages. Pusher cannot decrypt them. You can enable this feature by following
293
+
these steps:
291
294
292
-
1. You should first set up Private channels. This involves [creating an authentication endpoint on your server](https://pusher.com/docs/authenticating_users).
295
+
1. You should first set up Private channels. This involves [creating an
4. Channels where you wish to use end to end encryption must be prefixed with
330
+
`private-encrypted-`.
314
331
315
-
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.
332
+
5. Subscribe to these channels in your client, and you're done! You can verify
333
+
it is working by checking out the debug console on the
334
+
https://dashboard.pusher.com/ and seeing the scrambled ciphertext.
316
335
317
336
**Important note: This will not encrypt messages on channels that are not prefixed by private-encrypted-.**
0 commit comments