quarkslab / mattermost-plugin-e2ee

End-to-end encryption plugin for Mattermost
Apache License 2.0
67 stars 9 forks source link

[server] Verify uniqueness of public keys #10

Open aguinetqb opened 3 years ago

aguinetqb commented 3 years ago

Nothing prevents two (or more) users from sharing the same private/public key pair. We should check for this server side, and reject an already known public key.

Initial report: https://twitter.com/Tangeek42/status/1449005868196958212