!JiiOHXrIUCtcOJsZCa:matrix.org

nio

357 Members
The nio matrix python library | Latest release 0.4 https://pypi.org/project/matrix-nio/ | Documentation: https://matrix-nio.readthedocs.io/en/stable/137 Servers

Load older messages


SenderMessageTime
14 Jul 2019
@gentile:matrix.orggentilei wonder if using pantalaimon is a better approach for e2e aware bot16:09:00
@gentile:matrix.orggentilewhat do you guys use for logging e2e rooms? ideally i want a bot that saves the room to a html file. there's a ruby project on gitlab but i dont know ruby and it needs work.16:19:07
@poljar:matrix.orgpoljari just log them using weechat, so plaintext file like an irc log; it's not perfect since i can get duplicate messages there17:47:35
@poljar:matrix.orgpoljardunno what's better for a bot, on one hand pantalaimon does all the e2ee for you, on the other hand nio is nowadays quite easy to use17:48:20
@gentile:matrix.orggentilei like that idea but all my rooms are e2e encrypted and when i tried weechat last week it couldn't read e2e rooms unless i did something wrong.17:48:27
@gentile:matrix.orggentileim going to try nio for a e2e bot. thanks for the advice.17:49:28
@poljar:matrix.orgpoljarthat sounds weird, if you have the time feel free to report a bug17:51:14
@poljar:matrix.orgpoljarnow weechat can't yet request old keys -> decrypt already printed messages, so you might be hitting that17:52:00
@gentile:matrix.orggentilei build weechat from src, clone weechat-matrix and make install that. then in weechat /script load matrix.py. that's the correct process right? i will test it again now.17:53:19
@poljar:matrix.orgpoljarit is17:59:41
@gentile:matrix.orggentileok one more dumb question. i really hate having to make all my friends re-verify keys when i add a new device. even logging out creates a new device and can ruin a afternoon. if i wrote .py to parse my browser local storage and extract keys, in theory they could be imported into a keystore weechat-matrix uses so i could 'clone' another session18:06:47
@swedneck:privacytools.ioswedneckjust wait for cross-signing18:08:26
@poljar:matrix.orgpoljaryeah, cross-signing is a solution to this, i don't know how feasible it is to export the trust database from riot, weechat uses a plain text file that is similar to the ssh known hosts file18:09:49
@gentile:matrix.orggentileok looking forward to that. i never log out and clear sessions in my browser because i dont want to trigger a new device. really bad practice.18:10:04
@gentile:matrix.orggentileif you use inspect element in riot and look at local storage you can see all the keys. there are tons of them. should be straight forward though.18:12:05
@gentile:matrix.orggentilei really dislike using local storage too. when riot was compromised a couple of months ago, it would have been easy for the hacker to modify .js to send all keys from local storage to a remote server. good thing he wasn't too bright.18:12:38
@tulir:maunium.nettulirwhat else would a web app use 🤔18:13:25
@gentile:matrix.orggentileyeah thats the problem. i want to get on weechat soon because that's a pretty big risk.18:14:19
@tulir:maunium.nettulirthe solution is easy though: just don't use an instance hosted by someone else18:15:08

There are no newer messages yet.


Back to Room ListRoom Version: 4