From a6a7e117ccb63d054d94d59190e66e7629d612dd Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 8 Nov 2026 03:08:20 +0000 Subject: [PATCH] README: encrypted (private-encrypted-) channels Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SHtsCF9LUzGnmMxYox3ZKU --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 7a574b4..aa29dc9 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,15 @@ that Origin as a native app's and does not apply the allowlist to it. A self-hosted pusher-server older than v0.2.26 does not, so there add both to the app's allowed origins (or upgrade). +### Encrypted channels + +`private-encrypted-` channels work as they are: the React Native build of +pusher-js includes encryption. Your backend encrypts each event with its +encryption master key (`encryptionMasterKeyBase64` in the `pusher` package) +and returns the channel's key from the auth endpoint; Hibira relays +ciphertext it cannot decrypt. Client events are not allowed on encrypted +channels. + ## Hooks ```jsx