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. Bug Reports
  3. Possible Bug version 2.2.0

Possible Bug version 2.2.0

Scheduled Pinned Locked Moved Bug Reports
38 Posts 4 Posters 3.5k Views 3 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.
  • AnticimexA Anticimex

    @sindrome73 you use signing? Have you followed the signing migration guide for 2.1 to 2.2?
    https://forum.mysensors.org/topic/7843/security-migrating-from-library-version-2-1-to-2-2

    S Offline
    S Offline
    sindrome73
    wrote on last edited by
    #8

    @anticimex

    532/5000
    I made the customization from the beginning, with MySensors 2.2.0

    I followed these steps:

    • The EEPROM has been deleted
    • Open SecurityPersonalize.ino inserted the new Key
    • loaded the scketch and it does not go

    I redid the same procedure above, then EEprom deleted, SecurityPersonalize file, and loaded the scketch, but this time using Mysensors 2.1.1
    And here it worked ..... The same thing I did on Several Pro Mini at 5V 16Mhz and the result is the same ..... That's why I assume there may be something wrong with 2.2.0

    AnticimexA 1 Reply Last reply
    0
    • S sindrome73

      @anticimex

      532/5000
      I made the customization from the beginning, with MySensors 2.2.0

      I followed these steps:

      • The EEPROM has been deleted
      • Open SecurityPersonalize.ino inserted the new Key
      • loaded the scketch and it does not go

      I redid the same procedure above, then EEprom deleted, SecurityPersonalize file, and loaded the scketch, but this time using Mysensors 2.1.1
      And here it worked ..... The same thing I did on Several Pro Mini at 5V 16Mhz and the result is the same ..... That's why I assume there may be something wrong with 2.2.0

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

      @sindrome73 2.2 works. At least signing. Log please.

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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sindrome73
        wrote on last edited by
        #10

        I apologize, but I did not understand what you tell me ....

        I would like to add that the script without the signature with the 2.2 version works, while the signature works only with MySensors 2.1

        AnticimexA 1 Reply Last reply
        0
        • S sindrome73

          I apologize, but I did not understand what you tell me ....

          I would like to add that the script without the signature with the 2.2 version works, while the signature works only with MySensors 2.1

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

          @sindrome73 log please.

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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sindrome73
            wrote on last edited by
            #12

            In the evening ..... Now I'm at work and I can not

            AnticimexA 1 Reply Last reply
            0
            • S sindrome73

              In the evening ..... Now I'm at work and I can not

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

              @sindrome73 no problem

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

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sindrome73
                wrote on last edited by
                #14

                Here I am at home .... I proceeded to redo the procedure and this sot is the log ....

                I had to put an image because the last signs that mida I can not copy them as text ....

                0_1522266474450_Log_arduino.jpg

                AnticimexA 2 Replies Last reply
                0
                • S sindrome73

                  Here I am at home .... I proceeded to redo the procedure and this sot is the log ....

                  I had to put an image because the last signs that mida I can not copy them as text ....

                  0_1522266474450_Log_arduino.jpg

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

                  @sindrome73 log looks pretty corrupt, but I can't find any signing related messages so it would seem signing is not enabled on the node. Do you have a log from the GW? Is it also running 2.2.0?

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

                  1 Reply Last reply
                  0
                  • S sindrome73

                    Here I am at home .... I proceeded to redo the procedure and this sot is the log ....

                    I had to put an image because the last signs that mida I can not copy them as text ....

                    0_1522266474450_Log_arduino.jpg

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

                    @sindrome73 sorry, the capabilities string indicate software signing. But I don't see the backend initialization message. Could you please enable verbose signing debug?

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

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      sindrome73
                      wrote on last edited by
                      #17

                      tell me how to abbilitate the detailed signature debug .....

                      AnticimexA 1 Reply Last reply
                      0
                      • S sindrome73

                        tell me how to abbilitate the detailed signature debug .....

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

                        @sindrome73 https://www.mysensors.org/apidocs-beta/group__MySigningTroubleshootinggrp.html

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

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          sindrome73
                          wrote on last edited by
                          #19

                          Here is the log with the Debug signed abbreviation.
                          I specify that I had to disable // # define MY_DEBUG because the scketch is too big

                          0_1522270397919_Log_arduino2.jpg

                          AnticimexA 2 Replies Last reply
                          0
                          • S sindrome73

                            Here is the log with the Debug signed abbreviation.
                            I specify that I had to disable // # define MY_DEBUG because the scketch is too big

                            0_1522270397919_Log_arduino2.jpg

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

                            @sindrome73 signing messages look sane. But the logs look very corrupt. It also looks like the sketch crashed and restarted so I suspect you are running out of stack space. The arduino IDE reports and warns about memory usage and I suspect you get a warning on that.

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

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              sindrome73
                              wrote on last edited by
                              #21

                              Yes indeed I have already said this !! So true that to have the DEBUG of the signature I had to disable the DEBUG.

                              But with this same script, and going to Mysensors 2.1 it works !!

                              AnticimexA 1 Reply Last reply
                              0
                              • S sindrome73

                                Here is the log with the Debug signed abbreviation.
                                I specify that I had to disable // # define MY_DEBUG because the scketch is too big

                                0_1522270397919_Log_arduino2.jpg

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

                                @sindrome73 you could try to completely disable debug on your node and observe the behavior of your gw or controller.

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

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  sindrome73
                                  wrote on last edited by
                                  #23

                                  Ok .... Tomorrow I'll do it ..... But it will be difficult to have the Gateway Log because with the signature enabled, the sketch is very large, and does not allow me to activate the Debug ....

                                  AnticimexA 1 Reply Last reply
                                  0
                                  • S sindrome73

                                    Yes indeed I have already said this !! So true that to have the DEBUG of the signature I had to disable the DEBUG.

                                    But with this same script, and going to Mysensors 2.1 it works !!

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

                                    @sindrome73 well, 2.2.0 could be requiring more memory than 2.1. You can compare since the IDE reports exactly how much memory is used.

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

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      sindrome73
                                      wrote on last edited by
                                      #25

                                      But it is the same with both 2.2 and 2.1.
                                      With Arduino Pro Mini, enabling the signature debugging must be disabled because it exceeds counque the maximum available memory .......

                                      1 Reply Last reply
                                      0
                                      • S sindrome73

                                        Ok .... Tomorrow I'll do it ..... But it will be difficult to have the Gateway Log because with the signature enabled, the sketch is very large, and does not allow me to activate the Debug ....

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

                                        @sindrome73 you could see in your controller if communication gets though. I could see in the node log that signing handshaking takes place. So I am sure your problem is memory use. You need to reduce the size of your sketch. Or get more powerful hardware to support the features you want to use.

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

                                        1 Reply Last reply
                                        0
                                        • S Offline
                                          S Offline
                                          sindrome73
                                          wrote on last edited by
                                          #27

                                          Ok tomorrow calmly I will make these changes and update you .... A Tomorrow, and thanks for now .....

                                          AnticimexA alexsh1A 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          11

                                          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