Earlier quoted context omitted.
Another thing I'd like to see is a distributed shared state standard (not just for IoT): https://en.wikipedia.org/wiki/Distributed_shared_memory https://en.wikipedia.org/wiki/Software_transactional_memory https://en.wikipedia.org/wiki/Consensus_algorithm https://en.wikipedia.org/wiki/Raft_(computer_science) https://en.wikipedia.org/wiki/Distributed_hash_table The current trend of using async logic via message passing…
How would you solve access permissions in DHT? What if a node in DHT holds data that it is not granted to read? This would imply encryption of the data to prevent unauthorized reads - this does not really seem as a complicated problem - the data could be encrypted with only the nodes granted the read access having the decryption key(s). What seems harder to me is write permissions - if the data is encrypted/signed, o…
The usual solution for this is that the data must be signed by a specific private key; possession of that key grants write permission. A generation count or timestamp is embedded in the signed data to ensure that newer data cannot be replaced with obsolete data. Malicious nodes can still block updates from being distributed, though, so you need more than one path to seed the data into the network.