-
Notifications
You must be signed in to change notification settings - Fork 57
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
E2EE: Introduce EncryptionManager with uploadIdentityKeys and uploadOneTimeKeys API. #329
Conversation
This allows to detect if a room has been encrypted (no room state, just an event as of yet). Closes quotient-im#84.
d31a839
to
590a59a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for a great start! This is part 1 of the review, only dealing with code organisation but not with the source code itself. You've got some work to do before this can be merged :)
45d417b
to
2939a05
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few comments on the source code. Might bring more, but first let's deal with the base class of EncryptionEvent
.
a5e444c
to
ee6281e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I finally really got to seriously reviewing your code - and you've got more work as a result :)
ee6281e
to
d49fa06
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, a few last brushes and it seems we're good to go.
d02c250
to
14c0437
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...and a few more brushes below, to satisfy CI.
By the way, Travis fails because https://stackoverflow.com/questions/50061678/cmake-the-following-imported-targets-are-referenced-but-are-missing. cmake/QMatrixClientConfig.cmake
is already there, you just have to add the dependency there, as described in the answer.
f13cc71
to
a5a8d88
Compare
a5a8d88
to
abe1d95
Compare
abe1d95
to
b5f9e1b
Compare
tried to follow the logic (also tried with |
Yep, don't spend more time on this. Looking forward to messages receiving code. |
static const auto ed25519Name = QStringLiteral("ed25519"); | ||
static const auto Curve25519Name = QStringLiteral("curve25519"); | ||
static const auto SignedCurve25519Name = QStringLiteral("signed_curve25519"); | ||
static const auto OlmCurve25519AesSha256AlgoName = QStringLiteral("m.olm.curve25519-aes-sha256"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to myself
found an issue with the naming: https://github.com/matrix-org/matrix-doc/issues/1733#issuecomment-446179169 (point 2)
1a48753
to
93044c7
Compare
93044c7
to
d5b4e64
Compare
Congratulations, the first E2EE PR comes in :) |
Contributes to matrix-org/matrix-spec-proposals#87 matrix-org/matrix-spec-proposals#88 matrix-org/matrix-spec-proposals#95