From dev-return-27472-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Tue May 21 17:17:20 2013 Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AFD50D77F for ; Tue, 21 May 2013 17:17:20 +0000 (UTC) Received: (qmail 80974 invoked by uid 500); 21 May 2013 17:17:18 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 80590 invoked by uid 500); 21 May 2013 17:17:18 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 79382 invoked by uid 99); 21 May 2013 17:17:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 17:17:17 +0000 Date: Tue, 21 May 2013 17:17:17 +0000 (UTC) From: "Adam Kocoloski (JIRA)" To: dev@couchdb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (COUCHDB-1800) [admins] not rewritten to correct file with -A configuration directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Kocoloski updated COUCHDB-1800: ------------------------------------ Skill Level: Committers Level (Medium to Hard) Good report, thanks. It's reasonably difficult to fix this one in the current couch_config_writer framework. > [admins] not rewritten to correct file with -A configuration directory > ---------------------------------------------------------------------- > > Key: COUCHDB-1800 > URL: https://issues.apache.org/jira/browse/COUCHDB-1800 > Project: CouchDB > Issue Type: Bug > Components: Database Core > Reporter: James Dingwall > > I am starting couch 1.3.0 with: -a default.ini -a local.ini -A local.d > If my local.d contains two files such that one contains > [admins] > admin = somepassword > and a second > [couchdb] > database_dir = /some/path > view_index_dir = /another/path > When the [admins] section is rewritten with the crypted password it does not end up in the file where the original [admins] section was defined therefore leaving the plaintext password still available. i.e. the resulting files are: > [admins] > admin = somepassword > and > [couchdb] > directory_dir = /some/path > view_index_dir = /another/path > [admins] > admin = crypted password -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira