mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 12:46:22 +01:00
API encryption switch to libsodium backend (#2456)
This commit is contained in:
parent
d9b2903d78
commit
95d7ad543f
@ -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")
|
||||
|
||||
|
@ -36,7 +36,7 @@ lib_deps =
|
||||
6306@1.0.3 ; HM3301
|
||||
glmnet/Dsmr@0.3 ; used by dsmr
|
||||
rweather/Crypto@0.2.0 ; used by dsmr
|
||||
esphome/noise-c@0.1.1 ; used by api
|
||||
esphome/noise-c@0.1.3 ; used by api
|
||||
dudanov/MideaUART@1.1.8 ; used by midea
|
||||
|
||||
build_flags =
|
||||
|
Loading…
Reference in New Issue
Block a user