From owner-svn-src-user@FreeBSD.ORG Mon May 21 19:53:23 2012 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E83E2106566C; Mon, 21 May 2012 19:53:23 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 979C08FC08; Mon, 21 May 2012 19:53:23 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4LJrNlI070660; Mon, 21 May 2012 19:53:23 GMT (envelope-from des@svn.freebsd.org) Received: (from des@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4LJrNGi070658; Mon, 21 May 2012 19:53:23 GMT (envelope-from des@svn.freebsd.org) Message-Id: <201205211953.q4LJrNGi070658@svn.freebsd.org> From: Dag-Erling Smorgrav Date: Mon, 21 May 2012 19:53:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r235737 - user/des/fbce/lib/FBCE/Schema/Result X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2012 19:53:24 -0000 Author: des Date: Mon May 21 19:53:22 2012 New Revision: 235737 URL: http://svn.freebsd.org/changeset/base/235737 Log: Replace MD5 with SHA-1 Modified: user/des/fbce/lib/FBCE/Schema/Result/Person.pm Modified: user/des/fbce/lib/FBCE/Schema/Result/Person.pm ============================================================================== --- user/des/fbce/lib/FBCE/Schema/Result/Person.pm Mon May 21 19:28:59 2012 (r235736) +++ user/des/fbce/lib/FBCE/Schema/Result/Person.pm Mon May 21 19:53:22 2012 (r235737) @@ -216,7 +216,7 @@ use Digest::MD5 qw(md5_hex); sub set_password($$) { my ($self, $password) = @_; - my $csh = new Crypt::SaltedHash(algorithm => 'MD5'); + my $csh = new Crypt::SaltedHash(algorithm => 'SHA-1'); $csh->add($password); $self->set_column(password => $csh->generate()); $self->update()