Signing related fixes

* Secure actuator example now require signed messages by default
* Whitelisting config example in MyConfig.h now uses correct keywords
* keywords.txt updated with the actual whitelisting keyword
* Signing backends have improved debug output
  - The type of backend is presented in Get and Put nonce functions
  - The resulting signature is printed for both sender and receiver
* Fixed bug in soft signer (the untransmitted part of the nonce buffer was
  not the same in both ends)
* The ATSHA personalizer is updated to use acceptable syntax for user provided
  HMAC key
This commit is contained in:
Patrick Fallberg
2015-10-26 22:15:42 +01:00
parent ce99cbdad7
commit e75e735a10
6 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -211,7 +211,7 @@
// Note that a node can still transmit a non-salted message (i.e. have white listing disabled)
// to a node that has white listing enabled (assuming the receiver does not have a matching entry
// for the sender in it's white list)
//#define MY_SIGNING_NODE_WHITELIST {{.nodeId = GATEWAY_ADDRESS,.serial = {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01}}}
//#define MY_SIGNING_NODE_WHITELISTING {{.nodeId = GATEWAY_ADDRESS,.serial = {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01}}}
// Atsha204 default pin setting
#ifndef MY_SIGNING_ATSHA204_PIN