mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 23:14:54 +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])
|
||||
cg.add(var.set_noise_psk(list(decoded)))
|
||||
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:
|
||||
cg.add_define("USE_API_PLAINTEXT")
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ build_flags =
|
|||
|
||||
[common]
|
||||
lib_deps =
|
||||
esphome/noise-c@0.1.1 ; api
|
||||
esphome/noise-c@0.1.3 ; api
|
||||
makuna/NeoPixelBus@2.6.7 ; neopixelbus
|
||||
build_flags =
|
||||
-DESPHOME_LOG_LEVEL=ESPHOME_LOG_LEVEL_VERY_VERBOSE
|
||||
|
|
Loading…
Reference in a new issue