24 Jan 2021 |
Nico | Yeah | 18:07:09 |
Nico | clear only memsets the buffer to 0 anyway | 18:08:25 |
poljar | that's a feature, to remove private keys from memory | 18:08:48 |
Nico | May be good for security though, I should fix that | 18:08:49 |
Nico | 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 Schwan | ok thanks for all the information :) | 18:11:02 |
| @waltrautj220149:matrix.org joined the room. | 18:22:56 |
Carl Schwan | fixed the bug :) turnout storing the QOlmOutboundGroupSession in a variant wasn't a good idea | 18:45:13 |
Nico | Huh, why? | 18:45:35 |
Carl Schwan | no idea, the internal pointer was the same but storing it in an unique_ptr solved the problem | 18:45:59 |
Nico | Are you sure they were the same after the copy and before? | 18:47:26 |
Carl Schwan | i made a qDebug() << m_groupSession and it was showing me the same address | 18:49:08 |
Carl Schwan | but i'm really not the best person to trust in term of C++ :) I'm more of a web people | 18:49:58 |
Nico | 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 left the room. | 21:28:58 |
| @renardodunet:matrix.org left the room. | 22:09:26 |
25 Jan 2021 |
| row joined the room. | 17:31:37 |
| row changed their display name from rp to row. | 17:40:54 |
26 Jan 2021 |
| lost_property joined the room. | 00:03:00 |
| florianjardin joined the room. | 03:37:46 |
| florianjardin changed their profile picture. | 04:37:05 |
eravallejos | Hello @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 | Please do not ping the entire room | 12:28:32 |
Nico | @everyone does not ping the room | 12:28:52 |
js | Oh, it didn’t work with your all room mention but it also included my name :D | 12:28:51 |
js | Yeah just noticed | 12:29:03 |
js | I saw @everyone and me being pinged ;) | 12:29:12 |
Sorunome | 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 | 12:32:18 |
Sorunome | that being said, the docs say that event.getContent and event.getOriginalContent should be the decrypted event | 12:32:50 |
eravallejos | 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 |