1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-30 00:52:20 +01:00

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