!vlnjqGLpLJlFmBSkfQ:matrix.org

End-to-end crypto in Matrix

571 Members
Discussion around implementing and using encryption in Matrix via Olm/Megolm | Spec work and reference impl work in #e2e-dev:matrix.org141 Servers

Load older messages


SenderMessageTime
24 Jan 2021
@deepbluev7:neko.devNicoYeah18:07:09
@deepbluev7:neko.devNicoclear only memsets the buffer to 0 anyway18:08:25
@poljar:matrix.orgpoljarthat's a feature, to remove private keys from memory18:08:48
@deepbluev7:neko.devNicoMay be good for security though, I should fix that18:08:49
@deepbluev7:neko.devNico
In reply to @poljar:matrix.org
that's a feature, to remove private keys from memory
I'm not sure that is guaranteed to work on all platforms
18:09:30
@carl:kde.orgCarl Schwanok thanks for all the information :) 18:11:02
@waltrautj220149:matrix.org@waltrautj220149:matrix.org joined the room.18:22:56
@carl:kde.orgCarl Schwanfixed the bug :) turnout storing the QOlmOutboundGroupSession in a variant wasn't a good idea 18:45:13
@deepbluev7:neko.devNicoHuh, why?18:45:35
@carl:kde.orgCarl Schwanno idea, the internal pointer was the same but storing it in an unique_ptr solved the problem18:45:59
@deepbluev7:neko.devNicoAre you sure they were the same after the copy and before?18:47:26
@carl:kde.orgCarl Schwan i made a qDebug() << m_groupSession and it was showing me the same address 18:49:08
@carl:kde.orgCarl Schwanbut i'm really not the best person to trust in term of C++ :) I'm more of a web people 18:49:58
@deepbluev7:neko.devNico
In reply to @carl:kde.org
i made a qDebug() << m_groupSession and it was showing me the same address
Well, the code originally made like 3 copies of the bufer, so
18:51:08
@waltrautj220149:matrix.org@waltrautj220149:matrix.org left the room.21:28:58
@renardodunet:matrix.org@renardodunet:matrix.org left the room.22:09:26
25 Jan 2021
@rp6667:matrix.orgrow joined the room.17:31:37
@rp6667:matrix.orgrow changed their display name from rp to row.17:40:54
26 Jan 2021
@lost_property:matrix.orglost_property joined the room.00:03:00
@florianjardin:matrix.orgflorianjardin joined the room.03:37:46
@florianjardin:matrix.orgflorianjardin changed their profile picture.04:37:05
@eravallejos:matrix.orgeravallejosHello @everyone, quick question, are there any alternative ways on decrypting events and encrypted messages than the JS SDKs 'Event.decrypted' listener? I can't seem to find any other event decryptor on Matrix JS docs than the .on('Event.decrypted') listener. I'm finding an alternative way because we want to get just the encrypted messages on specific room only with a use of REST or sdk function only instead of listeners.12:27:51
@js:nil.imjsPlease do not ping the entire room12:28:32
@deepbluev7:neko.devNico@everyone does not ping the room12:28:52
@js:nil.imjsOh, it didn’t work with your all room mention but it also included my name :D12:28:51
@js:nil.imjsYeah just noticed12:29:03
@js:nil.imjsI saw @everyone and me being pinged ;)12:29:12
@sorunome:sorunome.deSorunomeyou could decrypt an event object with event.attemptDecryption, which is meant as an internal method https://github.com/matrix-org/matrix-js-sdk/blob/develop/src/models/event.js#L41512:32:18
@sorunome:sorunome.deSorunomethat being said, the docs say that event.getContent and event.getOriginalContent should be the decrypted event12:32:50
@eravallejos:matrix.orgeravallejos
In reply to @sorunome:sorunome.de
you could decrypt an event object with event.attemptDecryption, which is meant as an internal method https://github.com/matrix-org/matrix-js-sdk/blob/develop/src/models/event.js#L415
We will try this out. Thank you Sorunome :)
12:35:55

There are no newer messages yet.


Back to Room List