iot-lab / iot-lab-mqtt

Provide access to IoT-LAB experiments as MQTT agents
Other
2 stars 8 forks source link

iotlabmqtt: add support for broker user/password auth #2

Open cladmi opened 7 years ago

cladmi commented 7 years ago

Add two new options '--broker-username' and '--broker-password' to set broker authentication username and password.

WARNING: This should be changed, setting a password from command line is really bad. On IoT-LAB all users can see other users commands arguments. A solution could be to use an env variable.