topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 6:52 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: blowssi - /me in querys, and hilights - ignores  (Read 8902 times)

petka

  • Participant
  • Joined in 2011
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
blowssi - /me in querys, and hilights - ignores
« on: August 14, 2011, 05:53 AM »
[were going to post these on https://redmine.dcis...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 [Select]
  1. posting /me test in a channel set with the key 12345
  2.  
  3.  
  4. 12:27 Debug encrypt: 0 : send_command
  5. 12:27 Debug encrypt: 1 : /me test
  6. 12:27 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a57158)
  7. 12:27 Debug encrypt: 3 : Irssi::Irc::Channel=HASH(0x9a566c8)
  8. 12:27 ME: #af-test | test
  9. 12:27 Debug encrypt: 0 : send_command
  10. 12:27 Debug encrypt: 1 : /^ACTION -efnet #af-test +OK UPLLQ0mof6J1
  11. 12:27 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a56ea8)
  12. 12:27 Debug encrypt: 3 :
  13.  
  14.  
  15. posting /me in a query, got the key by /blowkeyx cbc <user>
  16.  
  17.  
  18. 12:29 Debug encrypt: 0 : send_command
  19. 12:29 Debug encrypt: 1 : /me test
  20. 12:29 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a56d98)
  21. 12:29 Debug encrypt: 3 : Irssi::Irc::Query=HASH(0x9a5c318)
  22. 12:29 ME: nickname | test
  23. 12:29 Debug encrypt: 0 : send_command
  24. 12:29 Debug encrypt: 1 : /^ACTION -efnet nickname +OK *RzA1SnVhOUYOQLYwXXrZxg==
  25. 12:29 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a5bb28)
  26. 12:29 Debug encrypt: 3 :
  27.  
  28.  
  29. getting and decrypting the /me test in a channel [this works, it decrypts the /me fine]
  30.  
  31.  
  32. 12:31 DEBUG decrypt: 0 : message_action
  33. 12:31 DEBUG decrypt: 1 : Irssi::Irc::Server=HASH(0x9a57328)
  34. 12:31 DEBUG decrypt: 2 : +OK UPLLQ0mof6J1
  35. 12:31 DEBUG decrypt: 3 : nickname
  36. 12:31 DEBUG decrypt: 4 : user@hostname
  37. 12:31 DEBUG decrypt: 5 : #af-test
  38.  
  39. gettting the /me test in a query [this doesn't work]
  40.  
  41. 12:32 DEBUG decrypt: 0 : message_action
  42. 12:32 DEBUG decrypt: 1 : Irssi::Irc::Server=HASH(0x96809f8)
  43. 12:32 DEBUG decrypt: 2 : +OK *M3M0UjFOb0XTujmGhW8B8Q==
  44. 12:32 DEBUG decrypt: 3 : nickname (the sender)
  45. 12:32 DEBUG decrypt: 4 : user@hostname
  46. 12:32 DEBUG decrypt: 5 : nickname2 (the reciever)
  47.  
  48. this is what it looks like
  49.  
  50. 12:32  * nickname +OK *M3M0UjFOb0XTujmGhW8B8Q==
  51.  
  52.  
  53. 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.]
  54.  
  55.  
  56. 12:38 Debug encrypt: 1 : /me test
  57. 12:38 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9680c88)
  58. 12:38 Debug encrypt: 3 : Irssi::Irc::Query=HASH(0x9a5c008)
  59. 12:38 ME: nickname | test
  60. 12:38 Debug encrypt: 0 : send_command
  61. 12:38 Debug encrypt: 1 : /^ACTION -efnet nickname +OK UPLLQ0mof6J1
  62. 12:38 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a5c2e8)
  63. 12:38 Debug encrypt: 3 :
  64.  
  65.  
  66. [doesn't decrypt the message]
  67.  
  68. 12:38 DEBUG decrypt: 1 : Irssi::Irc::Server=HASH(0x9a56c28)
  69. 12:38 DEBUG decrypt: 2 : +OK UPLLQ0mof6J1
  70. 12:38 DEBUG decrypt: 3 : nickname
  71. 12:38 DEBUG decrypt: 4 : user@host
  72. 12: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
« Last Edit: August 14, 2011, 06:17 AM by petka »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: blowssi - /me in querys, and hilights - ignores
« Reply #1 on: August 15, 2011, 08:46 AM »
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

  • Participant
  • Joined in 2011
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: blowssi - /me in querys, and hilights - ignores
« Reply #2 on: August 23, 2011, 07:04 PM »
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.
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.l...ic.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.or...er2=id&sort2=asc

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