Re:Preventing IoT Edge Device Cloning
by 3r7j6qzi9jvnve on Tuesday September 23, 2025 @08:58PM
(#45354917)
The user apparently needs to provide that through ba.tpm.uniquekey(), providing persistent random data that is device dependent:
https://realtimelogic.com/ba/doc/?url=auxlua.html#ba_tpm_glo...
I guess the rest still provide value by transforming whatever random seed into a proper certificate though.
I couldn't find "actual sources", but one of their github repo has this: https://github.com/RealTimeLogic/BAS/blob/main/examples/Mako...
Which extracts to this .config file (looks like lua code, that creates a secret from PBKDF2 of... what? I couldn't find where secrets would come from here, but that repo obviously misses the interesting bindings; from the how it works link it looks like they're just hashing the SN to generate a pseudorandom key but I don't see why you couldn't just generate a key for neighboring devices by just faking the SN then...)