Skip to content
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

Message signing slash encryption #266

Open
MegaApuTurkUltra opened this issue Mar 2, 2018 · 6 comments
Open

Message signing slash encryption #266

MegaApuTurkUltra opened this issue Mar 2, 2018 · 6 comments
Assignees

Comments

@MegaApuTurkUltra
Copy link

pls and thanks

@PullJosh
Copy link
Collaborator

PullJosh commented Mar 2, 2018

You'll have to excuse my naivety, but how does that sort of thing work? :3

@bates64
Copy link
Collaborator

bates64 commented Mar 2, 2018

@PullJosh magic. ✨

@joker314
Copy link
Contributor

joker314 commented Mar 5, 2018

So would users upload keys to the client in the user settings section, and then it just signs the message? We should add some kind of "Verified" symbol then, next to the message, to show it was signed -- like GitHub.

How, though, do we exchange public keys -- and make sure they are associated to particular user accounts?

@MegaApuTurkUltra
Copy link
Author

^ this is a problem not even matrix has solved yet. For now, we could give users a dialog with key fingerprints and ask them to click verify or blacklist kind of like matrix. Later on, we could support a web of trust where admins can sign other people's keys and then those people can sign other keys etc, kind of like GPG

@joker314
Copy link
Contributor

joker314 commented Mar 5, 2018

Sounds good! I assume we store keys in localStorage (that way no server can get their evil hands on them) [as well as the verified/blacklisted data, it can't be stored on the server because then they could verify an evil signature]

I'm quite interested in implementing this, but I'd be really bad at it because I'm not familiar with the codebase. @towerofnix is assigned, so I'm happy to leave it to them to implement (if they want to).

@bates64
Copy link
Collaborator

bates64 commented Mar 5, 2018

@joker314 wait for preact (#259) to be done before trying to implement this; it's pointless otherwise - plus the rewritten client/decent.js is a lot simpler.

We may want to consider adding ?string message.signature to the 1.0.0-preview spec, or add it in a minor release 1.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants