Change the password after the Pi Gateway is already compiled?



  • Is it possible to change the MySensors SIMPLE_SECURITY password in the gateway after it has been compiled?

    I'd like to share a base controller SD card image with a lot of people, and then let them all change the password via an interface.

    Is that possible?


  • Mod

    @alowhum you mean MY_ENCRYPTION_SIMPLE_PASSWD ? (Can't find anything in MySensors about SIMPLE_SECURITY)

    I don't think so. Found this in the code:

       printf("Note: The gateway was built with simplified encryption using the password: %s\n" \
              "      Any key set with aes_key option in the config file is ignored.\n\n",
    


  • Yes that's what I mean, sorry 🙂

    Hmm, that does not look promising..


  • Mod

    You could distribute not compiled and use a script that changes the password and then compiles the gateway


 

488
Online

7.9k
Users

8.7k
Topics

93.6k
Posts