[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15503698#comment-15503698
 ] 

Edward Ribeiro commented on ZOOKEEPER-2521:
-------------------------------------------

Yep, makes sense. Thanks for pointing out!

Particularly, I think passwords with spaces at beginning/end can lead to the 
all sorts of headaches during maintenance and operation. Like the one that 
_probably_ motivated this issue. But I am fine about *_discarding_* this 
patch/issue. Would like to hear from the committers and users (/cc 
[~arshad.mohammad]).

+1 about documenting this restriction if we apply this patch.

> space should be truncated while reading password for keystore/truststore 
> which is required to configure while SSL enabled
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2521
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2521
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.1
>            Reporter: Rakesh Kumar Singh
>            Assignee: Edward Ribeiro
>            Priority: Minor
>         Attachments: ZOOKEEPER-2521.patch
>
>
> space should be truncated while reading password for keystore/truststore 
> which is required to configure while SSL enabled.
> As of now if we configure the password with any heading/trailing space, the 
> zookeeper server will fail to start.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to