privacylab / talek

a Private Publish Subscribe System
BSD 2-Clause "Simplified" License
48 stars 5 forks source link

Understand if client needs to know sequence number of topics #25

Open willscott opened 7 years ago

willscott commented 7 years ago

Presumably it needs to keep track of where it is in a topic handle, but how does that bootstrap initially? in practice, the shared secret with the topic password should probably also indicate the 'current' sequence number, and the client will 'catch up' and then keep track of where it is from there.

That requires a stateful client though, so there needs to be an interface for the topic to be serialized and restored with both the current sequence number and the seed.