[IRCServices] EnableAnopeWorkaround doesn't work with db imported from anope-1.7.18 using enc_old

Pierre Fagrell pierre at fagrell.net
Thu Oct 11 16:59:56 PDT 2007


Pierre Fagrell skrev:
> Andrew Church skrev:
>>> Thankyou for the patch, the patching goes fine, but it won't compile:
>> Sorry, my fault.  (I guess that's what I get for staying up too late at
>> night...)  Open tools/convert-epona.c in a text editor and go to line 491,
>> which should read:
>>                 ci->pass.cipher = sstrdup("md5");
>> Change that to:
>>                 ci->founderpass.cipher = sstrdup("md5");
>> and compilation should work fine.
> That did the trick!
> All passwords work now, thankyou for the help.
> 
> //Pierre Fagrell
> ------------------------------------------------------------------
> To unsubscribe or change your subscription options, visit:
> http://lists.ircservices.za.net/mailman/listinfo/ircservices

Unfortunately it seems I was a little to quick to celebrate before.
All passwords did get correctly converted, but around half of them does not have the tag indicating they are md5.

<pass>~&#232;&#244;&#225;&#249;&#245;&#228;&#178;&#208;&#208;&#208;&#208;&#208;&#208;&#208;&#208;</pass>
inserting the tag like this:
<pass cipher="md5">~&#232;&#244;&#225;&#249;&#245;&#228;&#178;&#208;&#208;&#208;&#208;&#208;&#208;&#208;&#208;</pass>
will make those passwords work aswell.

All passwords that I've confirmed not to work have been set after the upgrade to anope-1.7.18
Those that I know to have been in effect for a long time - set while we were running a previous version of anope - did get the correct tag.
Perhaps this is a bug in anope? If it helps I will send you copies of the nick database privately

//Pierre