Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. Security

Security

Scheduled Pinned Locked Moved General Discussion
89 Posts 20 Posters 54.6k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • hekH Online
    hekH Online
    hek
    Admin
    wrote on last edited by
    #78

    @Anticimex

    Could the personalization sketch output the keys in a c-form which can be added directly in MyConfig.h?

    So.. If key-code is defined in MyConfig it will be written to ATSHA204A at startup. Hope I'm clear enough?

    AnticimexA 1 Reply Last reply
    0
    • hekH hek

      @Anticimex

      Could the personalization sketch output the keys in a c-form which can be added directly in MyConfig.h?

      So.. If key-code is defined in MyConfig it will be written to ATSHA204A at startup. Hope I'm clear enough?

      AnticimexA Offline
      AnticimexA Offline
      Anticimex
      Contest Winner
      wrote on last edited by
      #79

      @hek
      Not sure I follow. The key is permanently stored in the device. It is not supposed to change ever once written. If zones are locked, it will also not be possible to change. The personalization is a one-shot operation. Why would you like to write the key on every start?
      Sure I could update the personalization sketch to emit the auto-generated key in C-syntax form for easy copy+paste, but there is no requirement that the key is generated by the device. You could use "My secret key" as key if you wanted to.

      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

      1 Reply Last reply
      0
      • hekH Online
        hekH Online
        hek
        Admin
        wrote on last edited by
        #80

        Ok. Understand.

        1 Reply Last reply
        0
        • AnticimexA Offline
          AnticimexA Offline
          Anticimex
          Contest Winner
          wrote on last edited by
          #81

          Perhaps I should post an update on my signing development here.
          I have implemented a unique nonce-based signature mechanism using ATSHA204 in the protocol.
          I did have to make a sacrifice due to the size limitation of a RF message so the signatures will be truncated. However, analysis show that even truncated HMAC-SHA256 are extreamly difficult to beat, so we should be pretty well covered.

          Architecturally, the signing driver will be a "plug in". A dummy signing driver is enabled by default, and signing is only done if requested. I will post detailed descriptions and guides once I manage to optimize the SHA204 library and signing implementation down to fit together with an ethernet GW sketch in a Nano (which I think is the most "crowded" usecase).

          The design will allow for other signing backends to be used instead of ATSHA204, but as that is the only HW I got that is the backend I am implementing support for.

          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

          1 Reply Last reply
          0
          • M Offline
            M Offline
            marcusvdt
            wrote on last edited by
            #82

            I'm very interested in this topic. Looking forward for the final conclusion.
            Thanks.

            AnticimexA 1 Reply Last reply
            0
            • M marcusvdt

              I'm very interested in this topic. Looking forward for the final conclusion.
              Thanks.

              AnticimexA Offline
              AnticimexA Offline
              Anticimex
              Contest Winner
              wrote on last edited by
              #83

              @marcusvdt I believe the conclusion is here

              Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

              1 Reply Last reply
              0
              • freerpgF Offline
                freerpgF Offline
                freerpg
                wrote on last edited by
                #84

                working with security on a daily basis I just wanted to point out.... if they want to get it they will....
                I sincerely hope the new additions to the security don't slow down the sensor network.
                if someone wanted to make sure no one was listening into a radio broadcast.... I would personally go wired...... I see the security issue for this type of network is at best an authentication problem nothing more.
                I love the addition of the authentication as a basic security measure and it just adds to the fine work you are doing.

                AnticimexA 1 Reply Last reply
                0
                • freerpgF freerpg

                  working with security on a daily basis I just wanted to point out.... if they want to get it they will....
                  I sincerely hope the new additions to the security don't slow down the sensor network.
                  if someone wanted to make sure no one was listening into a radio broadcast.... I would personally go wired...... I see the security issue for this type of network is at best an authentication problem nothing more.
                  I love the addition of the authentication as a basic security measure and it just adds to the fine work you are doing.

                  AnticimexA Offline
                  AnticimexA Offline
                  Anticimex
                  Contest Winner
                  wrote on last edited by
                  #85

                  @freerpg i also work with security on a daily basis and I share your opinion on the matter totally. Hence my decision to leave encryption out of it and focus on authenticity.

                  Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Avamander
                    wrote on last edited by
                    #86

                    @Anticimex How far are you with authenticity verification?

                    AnticimexA 1 Reply Last reply
                    0
                    • A Avamander

                      @Anticimex How far are you with authenticity verification?

                      AnticimexA Offline
                      AnticimexA Offline
                      Anticimex
                      Contest Winner
                      wrote on last edited by
                      #87

                      @Avamander what do you mean? I consider myself done with security implementation. I don't see a need for more security functionality now when we have both encryption for rf24 and rf69 as well as hmac authentication and white listing.

                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                      A 1 Reply Last reply
                      0
                      • AnticimexA Anticimex

                        @Avamander what do you mean? I consider myself done with security implementation. I don't see a need for more security functionality now when we have both encryption for rf24 and rf69 as well as hmac authentication and white listing.

                        A Offline
                        A Offline
                        Avamander
                        wrote on last edited by
                        #88

                        @Anticimex I am not familiar with MySensors so sorry for the questions, who are the "we" you are speaking of having the features? Is this something MySensors now supports?

                        AnticimexA 1 Reply Last reply
                        0
                        • A Avamander

                          @Anticimex I am not familiar with MySensors so sorry for the questions, who are the "we" you are speaking of having the features? Is this something MySensors now supports?

                          AnticimexA Offline
                          AnticimexA Offline
                          Anticimex
                          Contest Winner
                          wrote on last edited by
                          #89

                          @Avamander "MySensors" has had support for this for quite some time yes. As you can read in the topic post of this thread. Encryption is discussed elsewhere on the forum.

                          Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                          1 Reply Last reply
                          1
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          18

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.1k

                          Posts


                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • MySensors
                          • OpenHardware.io
                          • Categories
                          • Recent
                          • Tags
                          • Popular