API encryption switch to libsodium backend (#2456)

This commit is contained in:
Otto Winter 2021-10-06 22:36:12 +02:00 committed by GitHub
parent d34a1c3ed6
commit 1c58b17235
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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")

View file

@ -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