-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow users without certificate to send messages, display messages #1646
Comments
|
Here is how messages verification works right now:
|
This is my proposition of what we should do:
I think the first point is mainly about renaming the properties. Although, if we want to keep the verification logic in backend, then we can probably get rid of state-manager's structure for verification statuses and stick to the object's prop only. Is there any difference between unconfirmed messages and potential spoofing? It is a certificate that holds the information about username, right? Will we be able to relate a username to the message using only CSR data? If the answer is yes, then there's probably an edge case while someone tries to sign a message using already taken username... |
CSR contains same data as certificate (dm key, onion address, peerid, nickname) |
In case this is helpful, we have two classes of "Potential spoofing" for unverified messages (messages from unregistered users):
FWIW, to me it seems that this should be backend's responsibility. |
Also, is this issue a duplicate of #1759 ? |
Version: 2.0.1-alpha.7 It's working on both mobile and desktop. All bugs related to certificates are reported in separate issues. |
We should not implement any new schema, but use CSRs for that and replace them with certificates once signed.
The text was updated successfully, but these errors were encountered: