mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-04-25 22:07:15 +00:00
Clarify when an encrypted request has no data (#1304)
This commit is contained in:
parent
e1e4f7f2af
commit
c16a08f770
@ -110,7 +110,7 @@ For other languages, please see the list of [Bindings for other languages](https
|
||||
|
||||
### Configuration
|
||||
|
||||
We use the [secret-key cryptography](https://download.libsodium.org/doc/secret-key_cryptography) features of Sodium to encrypt and decrypt payloads. All payloads are JSON encoded in Base64. For Base64 type, use `sodium_base64_VARIANT_ORIGINAL` (that is, "original", no padding, not URL safe).
|
||||
We use the [secret-key cryptography](https://download.libsodium.org/doc/secret-key_cryptography) features of Sodium to encrypt and decrypt payloads. All payloads are JSON encoded in Base64. For Base64 type, use `sodium_base64_VARIANT_ORIGINAL` (that is, "original", no padding, not URL safe). If the payload does not contain a `data` key when unencrypted (such as with the [get_config](https://developers.home-assistant.io/docs/api/native-app-integration/sending-data#get-config) request), an empty JSON object (`{}`) must be encrypted instead.
|
||||
|
||||
### Signaling encryption support
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user