Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Silver978
    3. Best
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by Silver978

    • RE: [security] Introducing signing support to MySensors

      Hello,

      firstly, I must say that you're doing a great job and this section about security is very interesting.
      Sorry, but I want to ask a question: as regards the whitelisting system, how can I add more nodes to the list of the trusted nodes of the gateway?
      The part of code is this:

      [...]
      #ifdef MY_SECURE_NODE_WHITELISTING
      whitelist_entry_t node_whitelist[] = {
        { //I want to add nodes HERE:
          .nodeId = 55, // Just some value, this need to be changed  to the NodeId of the trusted node
          .serial = {0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09} } // This need to change to the serial of the trusted node
      };
      MySigningAtsha204 signer(true, 1, node_whitelist);  // Select ATSHA204A software signing backend with one entry in the whitelist
      [...]
      

      but the gateway continue to fail the verification of the trusted nodes that I inserted.

      To sum up, how can I add more nodeIDs and serials in addition to the number "55" presented in the example of the code?

      Thank you very much in advance,
      Silver978

      posted in Development
      Silver978
      Silver978