[key-manager] remove default master key (#5998)

When initializing, we should use randomly generated network parameters
instead of default ones, to eliminate the possibility of unintentional
use of default credentials.
This commit is contained in:
Moandor
2020-12-30 11:25:48 -08:00
committed by GitHub
parent 263084baef
commit 069e26b51e
13 changed files with 87 additions and 124 deletions
+3 -18
View File
@@ -28,30 +28,15 @@
#
source "tests/scripts/expect/_common.exp"
source "tests/scripts/expect/_multinode.exp"
set max_node 15
spawn_node 1
send "panid 0xface\n"
expect "Done"
send "ifconfig up\n"
expect "Done"
send "thread start\n"
expect "Done"
wait_for "state" "leader"
expect "Done"
setup_leader
for {set i 2} {$i <= $max_node} {incr i} {
spawn_node $i
send "mode r\n"
expect "Done"
send "panid 0xface\n"
expect "Done"
send "ifconfig up\n"
expect "Done"
send "thread start\n"
expect "Done"
wait_for "state" "child"
expect "Done"
setup_node $i
}
set spawn_id $spawn_ids(1)