Navigation

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

    Silver978

    @Silver978

    1
    Reputation
    3
    Posts
    225
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Silver978 Follow

    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

    Latest posts made by Silver978

    • RE: [security] Introducing signing support to MySensors

      @Anticimex Perfect, understood! Very good explanation and super-fast support, fantastic 🙂
      Thank you very much again!

      posted in Development
      Silver978
      Silver978
    • RE: [security] Introducing signing support to MySensors

      @Anticimex I tried also this syntax but I haven't changed the argument of the signer, so that number indicates how many nodes the gateway must trust?
      Thank you!

      posted in Development
      Silver978
      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