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. Node personalizer sketch seems broken in MySensors 2.3.1

Node personalizer sketch seems broken in MySensors 2.3.1

Scheduled Pinned Locked Moved Bug Reports
3 Posts 3 Posters 602 Views 2 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.
  • joaoabsJ Offline
    joaoabsJ Offline
    joaoabs
    wrote on last edited by
    #1

    Hi,

    My node personalizer is running fine as always if I use the 2.3.0 version of the library.
    However, when upgrading the library to the latest 2.3.1, it doesn't compile anymore.

    home/xxx/node-personaliser-signing/node-personaliser-signing.ino: In function 'void write_eeprom_checksum()':
    node-personaliser-signing:524: error: 'signerSha256Init' was not declared in this scope
         signerSha256Init();
                          ^
    node-personaliser-signing:526: error: 'signerSha256Update' was not declared in this scope
         signerSha256Update(buffer, 32);
                                      ^
    node-personaliser-signing:531: error: 'signerSha256Final' was not declared in this scope
         hash = signerSha256Final();
                                  ^
    exit status 1
    'signerSha256Init' was not declared in this scope
    

    Going back to version 2.3.0 overcomes the issue, but I guess it should be solved in 2.3.1, right?

    AnticimexA 1 Reply Last reply
    0
    • joaoabsJ joaoabs

      Hi,

      My node personalizer is running fine as always if I use the 2.3.0 version of the library.
      However, when upgrading the library to the latest 2.3.1, it doesn't compile anymore.

      home/xxx/node-personaliser-signing/node-personaliser-signing.ino: In function 'void write_eeprom_checksum()':
      node-personaliser-signing:524: error: 'signerSha256Init' was not declared in this scope
           signerSha256Init();
                            ^
      node-personaliser-signing:526: error: 'signerSha256Update' was not declared in this scope
           signerSha256Update(buffer, 32);
                                        ^
      node-personaliser-signing:531: error: 'signerSha256Final' was not declared in this scope
           hash = signerSha256Final();
                                    ^
      exit status 1
      'signerSha256Init' was not declared in this scope
      

      Going back to version 2.3.0 overcomes the issue, but I guess it should be solved in 2.3.1, right?

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

      @joaoabs thanks for reporting.
      @tekka something related to your crypto hal refactoring?

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

      1 Reply Last reply
      1
      • tekkaT Offline
        tekkaT Offline
        tekka
        Admin
        wrote on last edited by
        #3

        Bingo! This is a backwards incompatibility :triumph: - thanks for reporting!

        @joaoabs You should be able to fix this by using the SecurityPersonalizer example from the 2.3.1 lib and copy/paste the settings section from your current sketch to the example sketch.
        @Anticimex issue originates from replacing all signerSHA256xyz() functions in the cryptoHAL

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


        17

        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