mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
mfg_tool: do not add dac keys to nvs if dac is stored in secure cert partititon
This commit is contained in:
@@ -617,7 +617,7 @@ def add_optional_KVs(args):
|
||||
chip_factory_append('serial-num', 'data', 'string', args.serial_num)
|
||||
|
||||
# Add certificates and keys
|
||||
if args.paa or args.pai and not args.dac_in_secure_cert:
|
||||
if (args.paa or args.pai) and (not args.dac_in_secure_cert):
|
||||
chip_factory_append('dac-cert', 'file', 'binary', None)
|
||||
chip_factory_append('dac-key', 'file', 'binary', None)
|
||||
chip_factory_append('dac-pub-key', 'file', 'binary', None)
|
||||
|
||||
Reference in New Issue
Block a user