commit:46f67aa8d208b91dfcd2b5f6ed9e6c739b9f0017
author:Chip Black
committer:Chip Black
date:Thu May 30 03:07:39 2013 -0500
parents:46a8b671b3c707db689868d9b6544d272aa711a7
Remove obsolete md5 conversion tool
diff --git a/tools/convert_to_md5_passwords.pl b/tools/convert_to_md5_passwords.pl
line changes: +0/-23
index a129715..0000000
--- a/tools/convert_to_md5_passwords.pl
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/perl
-# Yes, we were storing passwords in plain text.
-use Digest::MD5 qw/md5/;
-use strict;
-
-my $datadir = shift;
-
-opendir DATA, $datadir;
-while (my $user = readdir(DATA)) {
-	next if $user =~ /^\./;
-	print "Processing $user\n";
-	open P, "$datadir/$user/password";
-	my $password = <P>;
-	close P;
-	chomp $password;
-
-	my $md5password = md5($user . $password);
-
-	rename "$datadir/$user/password", "$datadir/$user/password.old";
-	open P, ">$datadir/$user/password";
-	print P $md5password;
-	close P;
-}