You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2021/01/02 20:59:52 UTC

[GitHub] [couchdb] mtenrero opened a new issue #3319: Error loading config key from local.ini with scaped (equal) = char

mtenrero opened a new issue #3319:
URL: https://github.com/apache/couchdb/issues/3319


   
   
   ## Description
   
   Configuring values in local.ini file with a key which has the = (equal) character are not read appropriately, as the first occurrence gets read as the key / value delimiter. 
   
   I've no found a way to escape that character inside the key. It's required for some JWT tokens with kids including that character.
   
   ## Steps to Reproduce
   
   Configure it in the local.ini file directly, or using the API (if so, it will work until the instance gets restarted) with a key containing equal character:
   
   ```ini
   [jwt_keys]
   rsa:h213h2h1jg3hj2= = <somevalue>
   ```
   
   ## Expected Behaviour
   
   It should be parsed as `rsa:h213h2h1jg3hj2=` -> `<somevalue>` instead of `rsa:h213h2h1jg3hj2` -> `= <somevalue>`
   
   ## Your Environment
   
   Debian and MacOS latest 3.x:  `couchdb-3.1.1.87a6b1a`
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] mtenrero commented on issue #3319: Error loading config key from local.ini with scaped (equal) = char

Posted by GitBox <gi...@apache.org>.
mtenrero commented on issue #3319:
URL: https://github.com/apache/couchdb/issues/3319#issuecomment-765581690


   I'm not sure if you realized this issue is already fixed in this PR: [https://github.com/apache/couchdb-config/pull/32](https://github.com/apache/couchdb-config/pull/32 )


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [couchdb] wohali commented on issue #3319: Error loading config key from local.ini with scaped (equal) = char

Posted by GitBox <gi...@apache.org>.
wohali commented on issue #3319:
URL: https://github.com/apache/couchdb/issues/3319#issuecomment-753567562


   This is related to https://github.com/apache/couchdb/issues/2188 - both of them have issues with equals signs in keys or values in  the ini file. Fix one and you should fix the other.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org