couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1800) [admins] not rewritten to correct file with -A configuration directory
Date Tue, 21 May 2013 17:17:17 GMT

     [ 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

Mime
View raw message