SecurityPersonalizer.ino: randomized key not shown after first step
-
Hi,
I'm trying to personalize my ATSHA204A as documented here:
https://www.mysensors.org/about/signing#how-this-is-doneSo I set this values:
Enable LOCK_CONFIGURATION Disable LOCK_DATA Enable SKIP_KEY_STORAGE Disable SKIP_UART_CONFIRMATION Disable USER_KEY
But in serial console - no randomized key is shown -as written in documentation "Execute the sketch on the “master” device to obtain a randomized key. Save this key to a secure location and keep it confidential so that you can retrieve it if you need to personalize more devices later on."
If I'm checking the code it's clear - because of disabled SKIP_KEY_STORAGE:
#ifdef SKIP_KEY_STORAGE Serial.println(F("Disable SKIP_KEY_STORAGE to store key.")); #else #ifdef USER_KEY memcpy(key, user_key_data, 32); Serial.println(F("Using this user supplied HMAC key:")); #else // Retrieve random value to use as key
So I think documentation is wrong at this point or do I understand it incorrectly?
Best regards,
Chris
-
@nog76 you are probably right. Thanks for reporting. A new release is soon to come which will change things quite a lot and documentation will update with that update.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Arduino nano and Uno in same My sensors network with NRF24L01+
Troubleshooting • 26 Jul 2024, 10:30 • DIY89 27 Aug 2024, 09:59 -
Can not compile MySensors on esp8266
Troubleshooting • 24 Aug 2024, 15:35 • TheoL 29 Aug 2024, 20:47 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Ghost Child
Troubleshooting • 13 days ago • FcNanoLed 10 days ago