ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Mircryption

blowssi - /me in querys, and hilights - ignores

(1/1)

petka:
[were going to post these on https://redmine.dcisv.com/projects/blowssi but it never sent me the email so I couldn't validate the account, hope it's OK to post this here instead]

Hey, first of all, cheers for the great script, having a few issues though that I thought I'd bring up. Mainly because they're not listed as any known bugs. (and the fact that it says that /me and /actions are supposed to be fixed in the 0.2.0).

I turned on debug and this is what I were able go get.


--- Code: Text ---posting /me test in a channel set with the key 12345   12:27 Debug encrypt: 0 : send_command12:27 Debug encrypt: 1 : /me test12:27 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a57158)12:27 Debug encrypt: 3 : Irssi::Irc::Channel=HASH(0x9a566c8)12:27 ME: #af-test | test12:27 Debug encrypt: 0 : send_command12:27 Debug encrypt: 1 : /^ACTION -efnet #af-test +OK UPLLQ0mof6J112:27 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a56ea8)12:27 Debug encrypt: 3 :  posting /me in a query, got the key by /blowkeyx cbc <user>  12:29 Debug encrypt: 0 : send_command12:29 Debug encrypt: 1 : /me test12:29 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a56d98)12:29 Debug encrypt: 3 : Irssi::Irc::Query=HASH(0x9a5c318)12:29 ME: nickname | test12:29 Debug encrypt: 0 : send_command12:29 Debug encrypt: 1 : /^ACTION -efnet nickname +OK *RzA1SnVhOUYOQLYwXXrZxg==12:29 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a5bb28)12:29 Debug encrypt: 3 :  getting and decrypting the /me test in a channel [this works, it decrypts the /me fine]  12:31 DEBUG decrypt: 0 : message_action12:31 DEBUG decrypt: 1 : Irssi::Irc::Server=HASH(0x9a57328)12:31 DEBUG decrypt: 2 : +OK UPLLQ0mof6J112:31 DEBUG decrypt: 3 : nickname12:31 DEBUG decrypt: 4 : user@hostname12:31 DEBUG decrypt: 5 : #af-test gettting the /me test in a query [this doesn't work] 12:32 DEBUG decrypt: 0 : message_action12:32 DEBUG decrypt: 1 : Irssi::Irc::Server=HASH(0x96809f8)12:32 DEBUG decrypt: 2 : +OK *M3M0UjFOb0XTujmGhW8B8Q==12:32 DEBUG decrypt: 3 : nickname (the sender)12:32 DEBUG decrypt: 4 : user@hostname12:32 DEBUG decrypt: 5 : nickname2 (the reciever) this is what it looks like 12:32  * nickname +OK *M3M0UjFOb0XTujmGhW8B8Q==  If I manually set a key for nickname and nickname2 to 12345 I get this [just to make sure it's not the keyex thats causing it.]  12:38 Debug encrypt: 1 : /me test12:38 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9680c88)12:38 Debug encrypt: 3 : Irssi::Irc::Query=HASH(0x9a5c008)12:38 ME: nickname | test12:38 Debug encrypt: 0 : send_command12:38 Debug encrypt: 1 : /^ACTION -efnet nickname +OK UPLLQ0mof6J112:38 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a5c2e8)12:38 Debug encrypt: 3 :  [doesn't decrypt the message] 12:38 DEBUG decrypt: 1 : Irssi::Irc::Server=HASH(0x9a56c28)12:38 DEBUG decrypt: 2 : +OK UPLLQ0mof6J112:38 DEBUG decrypt: 3 : nickname12:38 DEBUG decrypt: 4 : user@host12:38 DEBUG decrypt: 5 : nickname2


The second issue is that I can't get hilights to work in channels, I've tried changing the message levels the decrypted posts get sent as, changed it to MSGLEVEL_PUBLIC [rather than MSGLEVEL_CLIENTCRAP which it was default I think], and with printlevels.pl it says the level is PUBLIC when I get them. But it still doesn't hilight anything.

Looks to be the same with /ignore


12:46    8 *: ALL -regexp -pattern test

in #af-test
12:46 <nickname> test

in #af-test2 without encryption I didn't get the MSG.


Thanks again

//petka

mouser:
Hi petka, sorry about the redmine account, that was my fault.

But your post here is great -- we like talking on the forum better anyway :)

I'll point the blowssi author to this post since it's not something i'm familiar with, just wanted to welcome you to the site and thank you for posting.

petka:
I'll point the blowssi author to this post since it's not something i'm familiar with, just wanted to welcome you to the site and thank you for posting.
-mouser (August 15, 2011, 08:46 AM)
--- End quote ---
Thanks, appreciate it. I've been playing around with it for a bit, but since I hardly know programming, less perl I'm not having much luck heh. =)

But one logical explanation to the hilight/ignore bug would be that irssi runs hilight/ignore before the script is able to decrypt the messages. I've been looking at this http://fish.secure.la/forum/viewtopic.php?f=3&t=624 which is able to hilight and ignore encrypted channels fine, but haven't been able to figure out what's done differently in that script.

Maybe something to do with this?

http://bugs.irssi.org/index.php?do=details&task_id=398&project=5&order=os&sort=desc&pagenum=14&toggleadvanced=1&order2=id&sort2=asc

I don't know, I'm just grasping at straws here heh. Anyway cheers again.

Navigation

[0] Message Index

Go to full version