This PR is based on #495, so that needs to be merged first.
This PR changes the invite to use ECIES instead of a symmetric key so it hides the information for a third-party who sent an invite. So for example if A sends an invite to B and C is already a contact of B then previously C could see who sent an invite to B. After this PR C will not know who sent an invite, the only information they can gather is that someone sent an invite. That may be addressed if the invite address is different from the public key and is changed periodically, but that is not part of this PR.
This PR is based on #495, so that needs to be merged first.
This PR changes the invite to use ECIES instead of a symmetric key so it hides the information for a third-party who sent an invite. So for example if
A
sends an invite toB
andC
is already a contact ofB
then previouslyC
could see who sent an invite toB
. After this PRC
will not know who sent an invite, the only information they can gather is that someone sent an invite. That may be addressed if the invite address is different from the public key and is changed periodically, but that is not part of this PR.