Open Powersource opened 11 months ago
yeah I can't remember the reason for this... but I don't like how sneaky it is.
I think the justification was that with box2 it's impossible to send one-way messages (unlike box1), as you are always doing a diffie-hellman cross between your key and another persons.... I'm fuzzy on this though
I think this is fine. We will be doing thorough testing, so will watch for anything odd.
We need to revisit key backup in future...
In the db2 PR https://github.com/ssbc/ssb-tribes/pull/96 we're removing envelope.js in favor of ssb-box2. envelope.js had this hack that tries to put out own dm key into all the content.recps. Removing that should be fine but let's keep an eye out in case something was depending on that.
https://github.com/ssbc/ssb-tribes/blob/134064ba84e7d49c292349aa00aeccd42f2103b4/envelope.js#L37-L41