From b5098ce6ed92a5a0f09d152d03ebab8e4a165af4 Mon Sep 17 00:00:00 2001 From: emdee Date: Fri, 7 Oct 2022 23:55:44 +0200 Subject: [PATCH] Update 'MultiDevice Announcements POC' --- MultiDevice-Announcements-POC.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/MultiDevice-Announcements-POC.md b/MultiDevice-Announcements-POC.md index a825240..cfd2a13 100644 --- a/MultiDevice-Announcements-POC.md +++ b/MultiDevice-Announcements-POC.md @@ -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.