1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2//EN">
4 <TITLE> [IRCServices] Perl Script for Encrypting Passwords..
6 <LINK REL=
"Index" HREF=
"index.html" >
7 <LINK REL=
"made" HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Perl%20Script%20for%20Encrypting%20Passwords..&In-Reply-To=200403271239.i2RCdoIk023362%40mac.com">
8 <META NAME=
"robots" CONTENT=
"index,nofollow">
9 <META http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
10 <LINK REL=
"Previous" HREF=
"004170.html">
11 <LINK REL=
"Next" HREF=
"004172.html">
13 <BODY BGCOLOR=
"#ffffff">
14 <H1>[IRCServices] Perl Script for Encrypting Passwords..
</H1>
16 <A HREF=
"mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Perl%20Script%20for%20Encrypting%20Passwords..&In-Reply-To=200403271239.i2RCdoIk023362%40mac.com"
17 TITLE=
"[IRCServices] Perl Script for Encrypting Passwords..">quension at mac.com
19 <I>Sat Mar
27 14:
17:
40 PST
2004</I>
21 <LI>Previous message:
<A HREF=
"004170.html">[IRCServices] Translate
23 <LI>Next message:
<A HREF=
"004172.html">[IRCServices] Translate
25 <LI> <B>Messages sorted by:
</B>
26 <a href=
"date.html#4171">[ date ]
</a>
27 <a href=
"thread.html#4171">[ thread ]
</a>
28 <a href=
"subject.html#4171">[ subject ]
</a>
29 <a href=
"author.html#4171">[ author ]
</a>
35 From:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A> (Andrew Church)
36 Date: Wed Sep
17,
2003 07:
27:
17 US/Pacific
37 To:
<A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">ircservices at ircservices.za.net
</A>
38 Subject: Re: [IRCServices] Database encryption
40 This isn't possible at the moment. I'm hoping to make it possible
41 for
5.1. In the meantime, you can export to XML and encrypt the
42 passwords manually. Something like the following Perl snippet
43 (pseudocode) should do it:
47 s,
<pass
>([\
0-\
377]*?)
</pass
>,
"<pass
>".
&escape(
&md5($
1)).
"</pass
>",eg;
50 where
&md5 is a subroutine that returns the MD5 hash of its parameter
51 (raw binary, not hex string), and
&escape turns non-ASCII characters
52 into
&#nnn; entities.
55 <A HREF=
"http://www.ircservices.za.net/mailman/listinfo/ircservices">achurch at achurch.org
</A>
56 <A HREF=
"http://achurch.org/">http://achurch.org/
</A>
59 </I>><i> I have a simple question that I can't seem to find the answer to. How
60 </I>><i> can I convert the my services database to use MD5? Just enabling
61 </I>><i> encryption/md
5 breaks it. :/
62 </I>><i> Jeian/John
73 <LI>Previous message:
<A HREF=
"004170.html">[IRCServices] Translate
75 <LI>Next message:
<A HREF=
"004172.html">[IRCServices] Translate
77 <LI> <B>Messages sorted by:
</B>
78 <a href=
"date.html#4171">[ date ]
</a>
79 <a href=
"thread.html#4171">[ thread ]
</a>
80 <a href=
"subject.html#4171">[ subject ]
</a>
81 <a href=
"author.html#4171">[ author ]
</a>