You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the update script explicitly adds any new keys specified in the config.sh file to the os.sshKeys entry of config.json. While it seems this is the desired behavior, it has undesirable effects.
It becomes very difficult to keep a reference config.sh for the group of field devices
It becomes very difficult to deprecate and replace ssh keys
To reproduce issue:
check the config.json file on the target device. Check that the value for key os.sshKeys is empty.
Add an ssh key in config.sh script, e.g. SSHKEYS=("ssh-rsa AAAA ..... testKey")
Configure the key for the test unit in batch
run the run.sh script.
View the config.json file on the target device. It will now include the specified key
Change the key in config.sh
Remove config.log and run run.sh again
View the config.json file on the target device. It will now include two copies of the specified key
The text was updated successfully, but these errors were encountered:
Currently, the update script explicitly adds any new keys specified in the
config.sh
file to theos.sshKeys
entry of config.json. While it seems this is the desired behavior, it has undesirable effects.config.sh
for the group of field devicesTo reproduce issue:
config.json
file on the target device. Check that the value for keyos.sshKeys
is empty.config.sh
script, e.g.SSHKEYS=("ssh-rsa AAAA ..... testKey")
run.sh
script.config.json
file on the target device. It will now include the specified keyconfig.sh
run.sh
againconfig.json
file on the target device. It will now include two copies of the specified keyThe text was updated successfully, but these errors were encountered: