Node personalizer sketch seems broken in MySensors 2.3.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 scopeGoing back to version 2.3.0 overcomes the issue, but I guess it should be solved in 2.3.1, right?
-
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 scopeGoing back to version 2.3.0 overcomes the issue, but I guess it should be solved in 2.3.1, right?
-
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login