You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "James Dingwall (JIRA)" <ji...@apache.org> on 2013/05/21 17:31:17 UTC

[jira] [Created] (COUCHDB-1800) [admins] not rewritten to correct file with -A configuration directory

James Dingwall created COUCHDB-1800:
---------------------------------------

             Summary: [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