Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 86211 invoked from network); 26 Oct 2007 15:59:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2007 15:59:16 -0000 Received: (qmail 45443 invoked by uid 500); 26 Oct 2007 15:59:02 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 45390 invoked by uid 500); 26 Oct 2007 15:59:01 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 45379 invoked by uid 99); 26 Oct 2007 15:59:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 08:59:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 15:59:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1556C714256 for ; Fri, 26 Oct 2007 08:58:51 -0700 (PDT) Message-ID: <2295551.1193414331085.JavaMail.jira@brutus> Date: Fri, 26 Oct 2007 08:58:51 -0700 (PDT) From: "David Jencks (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-411) Add Hash Password Rewrite to File Realm In-Reply-To: <664674234.1099326812017.JavaMail.apache@nagoya> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537999 ] David Jencks commented on GERONIMO-411: --------------------------------------- With GERONIMO-2925 the passwords are all encrypted with a pluggable encryption method. I'm not sure that further work on this toy security realm is warranted. Won't anyone with actual users be using ldap or a database for the backing store? > Add Hash Password Rewrite to File Realm > --------------------------------------- > > Key: GERONIMO-411 > URL: https://issues.apache.org/jira/browse/GERONIMO-411 > Project: Geronimo > Issue Type: Improvement > Components: security > Affects Versions: 1.0-M2, 1.2 > Reporter: Aaron Mulder > Assignee: Donald Woods > Priority: Minor > Fix For: 2.0.x, 2.1 > > Attachments: properties-realm.patch > > > It would be nice if the properties file realm could rewrite your properties file with hashed passwords when it reads it. We would need to be able to recognize hashed vs. unhashed entries and perhaps even different algorithms. Perhaps it could go like this: > user1=plaintext > user2=MD5{...} > user3=SHA1{...} > Anyway, the idea is that this could be a reasonably secure alternative, but you still wouldn't need to manually hash things to add or update entries -- just put a plain text entry in and the next time the server reads the file it would hash it for you. > I guess we'd need to synchronize on the hash operation to avoid threading problems if multiple apps or whatever use the same properties file, but it shouldn't be bad if we only rewrite the file if we find any plain text entries. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.