2018-07-30 12:10:10 -04:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config USE_SEC_1
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
prompt "Use Security Version 1"
|
|
|
|
help
|
|
|
|
Security version 1 used Curve25519 key exchange for establishing
|
|
|
|
secure session between device and client during provisioning
|
2018-07-30 12:10:10 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config USE_POP
|
|
|
|
bool
|
|
|
|
depends on USE_SEC_1
|
|
|
|
default y
|
|
|
|
prompt "Use proof-of-possession"
|
|
|
|
help
|
|
|
|
Proof-of-possession can be optionally used to prove that the device is indeed
|
|
|
|
in possession of the user who is provisioning the device. This proof-of-possession
|
|
|
|
is internally used to generate the shared secret through key exchange.
|
2018-07-30 12:10:10 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config POP
|
|
|
|
string "Proof-of-possession"
|
|
|
|
default "abcd1234"
|
|
|
|
depends on USE_POP
|
2018-07-30 12:10:10 -04:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
config RESET_PROVISIONED
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
prompt "Reset provisioned status of the device"
|
|
|
|
help
|
|
|
|
This erases the NVS to reset provisioned status of the device on every reboot.
|
|
|
|
Provisioned status is determined by the WiFi STA configuration, saved on the NVS.
|
2018-07-30 12:10:10 -04:00
|
|
|
|
|
|
|
endmenu
|