Update 'MultiDevice Announcements POC'

emdee 2022-10-07 23:55:44 +02:00
parent f4ea4b833d
commit b5098ce6ed

@ -64,16 +64,19 @@ But it might be enough for the blob to be signed, and that would be a good start
signature generated by the NaCl signing functions. This would mean that the owner
of the Persona would generate a NaCl signing keypair to sign the blob. Then either:
1. Set your status message to be the signing public key and push the blob by some means - DHT announcement, universal NGC chat group, some sendfile magic...
1. Set your status message to be the signing public key and push the blob by some means - DHT announcement, universal NGC chat group, some sendfile magic, or like avatars...
2. compress and base64 encode the blob and append it to the public signing key and
put that in the status message if less than 1007 bytes.
You would do the same with the same key on each of your devices.
The same blob could be on each of your devices, with a minor change when the active device changes.
The blob itself could be as simple as a json or yaml ordered dictionary with the keys being the nickname associate with the PK, and the values the PK or the device.
With the signature and the public key, this should leave room for about 10 devices
in less than 1007 bytes, compressed and base64 encoded.
With the signature and the public key, this should leave room for at least 12 devices in less than 1007 bytes, compressed and base64 encoded. With 1007 bytes with the signature and signing key, and nicknames of 12 bytes it will take about 16 devices
```
1007-128-64-2/(32+6+12) = 16
```
One problem with this is that only your Friends could verify the blob, which means
users you have never invited will not be able to verify. But perhaps that's good.