Skip Menu |

This queue is for tickets about the POE-Component-IRC-Plugin-Blowfish CPAN distribution.

Report information
The Basics
Id: 36722
Status: resolved
Priority: 0/
Queue: POE-Component-IRC-Plugin-Blowfish

People
Owner: johannes [...] plunien.de
Requestors: bt [...] yotm.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: blowfish plugin does not encrypt/decrypt
Date: Fri, 13 Jun 2008 16:10:09 +0100
To: bug-POE-Component-IRC-Plugin-Blowfish [...] rt.cpan.org
From: bt <bt [...] yotm.com>
Hi, I've just been playing with this plugin but couldn't get it to work. I am using the latest version of P::C::IRC, which is 5.80. The example provide also fails to give the expected results (no encryption). To see this for yourself, just copy the included example and see if the messages are encrypted: http://search.cpan.org/~plu/POE-Component-IRC-Plugin-Blowfish-0.01/lib/POE/Component/IRC/Plugin/Blowfish.pm I'm sorry I am unable to provide any further information. Regards, Tim
Subject: Re: [rt.cpan.org #36722] blowfish plugin does not encrypt/decrypt
Date: Fri, 13 Jun 2008 23:50:31 +0200
To: bug-POE-Component-IRC-Plugin-Blowfish [...] rt.cpan.org
From: Johannes Plunien <plu [...] pqpq.de>
Hi bt, On 13.06.2008, at 17:10, bt via RT wrote: Show quoted text
> I've just been playing with this plugin but couldn't get it to work. I > am using the latest version of P::C::IRC, which is 5.80. The example > provide also fails to give the expected results (no encryption). > > To see this for yourself, just copy the included example and see if > the > messages are encrypted: > > http://search.cpan.org/~plu/POE-Component-IRC-Plugin-Blowfish-0.01/lib/POE/Component/IRC/Plugin/Blowfish.pm > > I'm sorry I am unable to provide any further information.
there seems to be a bug in POE/Component/Pluggable.pm. Hinrik from #poe has posted a patch which is working for me: "Hinrik" at 194.144.99.91 pasted "poco-pluggable patch" (12 lines) at http://nopaste.snit.ch/13271 The problem is that U_privmsg never gets fired in my plugin so it can't encrypt the message before PoCo::IRC sends it to the irc server. Kind regards, plu -- Johannes Plunien | mailto:plu@pqpq.de | http://www.pqpq.de
Subject: Re: [rt.cpan.org #36722] blowfish plugin does not encrypt/decrypt
Date: Fri, 13 Jun 2008 23:52:34 +0200
To: bug-POE-Component-IRC-Plugin-Blowfish [...] rt.cpan.org
From: Johannes Plunien <plu [...] pqpq.de>
Hi again, i'm not sure how long that nopaste is valid so here's the patch: Index: lib/POE/Component/Pluggable.pm =================================================================== --- lib/POE/Component/Pluggable.pm (revision 17) +++ lib/POE/Component/Pluggable.pm (working copy) @@ -43,6 +43,7 @@ return; } + $event = lc $event; my $pipeline = $self->pipeline; my $prefix = $self->{_pluggable_prefix}; $event =~ s/^\Q$prefix\E//; Kind regards, plu
Subject: Re: [rt.cpan.org #36722] blowfish plugin does not encrypt/decrypt
Date: Sat, 14 Jun 2008 11:04:09 +0100
To: bug-POE-Component-IRC-Plugin-Blowfish [...] rt.cpan.org
From: bt <bt [...] yotm.com>
Hi, The patch works just great, thanks all! Regards, Tim On Fri, 2008-06-13 at 17:53 -0400, Johannes Plunien via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=36722 > > > Hi again, > > i'm not sure how long that nopaste is valid so here's the patch: > > Index: lib/POE/Component/Pluggable.pm > =================================================================== > --- lib/POE/Component/Pluggable.pm (revision 17) > +++ lib/POE/Component/Pluggable.pm (working copy) > @@ -43,6 +43,7 @@ > return; > } > > + $event = lc $event; > my $pipeline = $self->pipeline; > my $prefix = $self->{_pluggable_prefix}; > $event =~ s/^\Q$prefix\E//; > > Kind regards, > plu >
Hi, will be fixed with POE-Component-Pluggable-1.08 POE-Component-IRC-5.82 plu