Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signing - whitelisting - gateway config - fix docs / bug? #1490

Open
gorbunovav opened this issue May 10, 2021 · 0 comments
Open

Signing - whitelisting - gateway config - fix docs / bug? #1490

gorbunovav opened this issue May 10, 2021 · 0 comments

Comments

@gorbunovav
Copy link

Case:

  • secure actuator, which requires signing from the gateway
  • gateway doesn't require signing

Documentation says:

For a node that should transmit whitelisted messages but not receive whitelisted messages, you do not need any special configurations:

#define MY_SIGNING_SOFT
#define MY_SIGNING_SOFT_RANDOMSEED_PIN 7

But I was not able to make it work until I've defined

#define MY_SIGNING_NODE_WHITELISTING {}

in the gateway sketch (I am using ESP32 gateway).

I was debugging with #define MY_DEBUG_VERBOSE_SIGNING and before adding this line the gateway log had no mentions of whitelisting:

357220 SGN:NCE:FROM=231
357222 SGN:BND:NONCE=XXXXXXXXXXXXXX
357230 SGN:BND:HMAC=XXXXXXXXXX
357246 SGN:SGN:SGN

after adding the line:

357220 SGN:NCE:FROM=231
357222 SGN:BND:NONCE=XXXXXXXXXXXXXX
357230 SGN:BND:HMAC=XXXXXXXXXX
357239 SGN:BND:SIG WHI,ID=0
357241 SGN:BND:SIG WHI,SERIAL=XXXXXXXXXX
357246 SGN:SGN:SGN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant