mirror of
https://github.com/esphome/esphome.git
synced 2025-02-18 01:03:12 +01:00
API encryption switch to libsodium backend (#2456)
This commit is contained in:
parent
d34a1c3ed6
commit
1c58b17235
2 changed files with 2 additions and 2 deletions
|
@ -121,7 +121,7 @@ async def to_code(config):
|
||||||
decoded = base64.b64decode(conf[CONF_KEY])
|
decoded = base64.b64decode(conf[CONF_KEY])
|
||||||
cg.add(var.set_noise_psk(list(decoded)))
|
cg.add(var.set_noise_psk(list(decoded)))
|
||||||
cg.add_define("USE_API_NOISE")
|
cg.add_define("USE_API_NOISE")
|
||||||
cg.add_library("esphome/noise-c", "0.1.1")
|
cg.add_library("esphome/noise-c", "0.1.3")
|
||||||
else:
|
else:
|
||||||
cg.add_define("USE_API_PLAINTEXT")
|
cg.add_define("USE_API_PLAINTEXT")
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ build_flags =
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
lib_deps =
|
lib_deps =
|
||||||
esphome/noise-c@0.1.1 ; api
|
esphome/noise-c@0.1.3 ; api
|
||||||
makuna/NeoPixelBus@2.6.7 ; neopixelbus
|
makuna/NeoPixelBus@2.6.7 ; neopixelbus
|
||||||
build_flags =
|
build_flags =
|
||||||
-DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_VERY_VERBOSE
|
-DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_VERY_VERBOSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue