mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	API encryption switch to libsodium backend (#2456)
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user