Closed staltz closed 3 years ago
hm.. removing the nonce sometimes is a bit odd to handle when reconstructing a metafeed, tho.
Like, if i only have the metafeed secret
but not the existing secret
what should happen? the sometimes it's okay not to have a nonce feels glitchy and another message type might be clearer. like maybe "metafeed/add/existing"
and "metafeed/add/derived"
?
another message type might be clearer.
This is one of the ideas I came up with as well, when in a call with arj. I'm also fine with it.
@arj03 ?
I'm good with another type.
maybe
"metafeed/add/existing"
and"metafeed/add/derived"
I like this
In Existing SSB Identity case, we have
However, in New SSB Identity we have
Note that in the second we have nonce and in the first case we don't, but the message type is "metafeed/add" in both cases.
This is a gotcha, currently JS ssb-meta-feeds is wrong because it has a nonce for the main feed, which is wrong, because the nonce has nothing to do with deriving the main keys.
cc @arj03 @cryptix
cc @mycognosist for validation