mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
esp_prov: prompt for PoP if not provided and required
This commit is contained in:
parent
069b82401c
commit
7989e97b3a
@ -409,8 +409,7 @@ async def main():
|
||||
|
||||
if (args.secver != 0) and not await has_capability(obj_transport, 'no_pop'):
|
||||
if len(args.sec1_pop) == 0:
|
||||
print('---- Proof of Possession argument not provided ----')
|
||||
exit(2)
|
||||
args.sec1_pop = binput('Proof of Possession required : ')
|
||||
elif len(args.sec1_pop) != 0:
|
||||
print('---- Proof of Possession will be ignored ----')
|
||||
args.sec1_pop = ''
|
||||
|
Loading…
Reference in New Issue
Block a user