DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [xchat] znc support  (Read 16,618 times)

bamboo123

  • Participant
  • Joined in 2009
  • *
  • Posts: 9
[xchat] znc support
« on: April 28, 2009, 11:54 AM »
I was wondering if it's possible to add decryption support for ZNC's buffer module, which saves conversations from channels, even if you're offline. When you come pack offline, ZNC plays the captured text in the channel windows in the following format:
Code
<***> Buffer Playback...
<nick> [timestamp] +OK crypted message
<***> Playback Complete.

I was sondering, if it's possible to enhance mircryption to decrypted also this buffered messages.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [xchat] znc support
« Reply #1 on: April 28, 2009, 04:48 PM »
interesting idea.. let's see if we can't wake up hadez the xchat-mircryption guy and get him to consider this.

gjehle

  • lonesome linux warrior
  • Member
  • Joined in 2006
  • **
  • Posts: 286
    • Gathering Badge
Re: [xchat] znc support
« Reply #2 on: April 28, 2009, 07:01 PM »
hmm, first idea: could be hacked into the code.
second idea: it would be more of a dirty hack ;-)

i'll put in on my list of features and fixes and get back to you once i have the time to work on it.

test

  • Participant
  • Joined in 2005
  • *
  • Posts: 1
Re: [xchat] znc support
« Reply #3 on: June 20, 2009, 08:15 AM »
Hi guys.  I'm one of the ZNC devs.  I used the pre-existing test/test account on these forums due to laziness.

The workaround to your issue would be to use these config options...

  AppendTimestamp = true
  PrependTimestamp = false

This way the timestamp will go after the +OK message and mircryption can do the right thing.

Another thing I should mention is that the *crypt module was written to be compatible with mircryption's CBC mode and thus can be used on a trusted or local shell to provide client independent encryption.

Also, we have a pretty active support channel at #znc on efnet if you have any questions.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [xchat] znc support
« Reply #4 on: June 20, 2009, 11:47 AM »
cool  :up:

Original address: https://www.donationcoder.com/forum/index.php?topic=18074.0