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

Arshad Mohammad commented on ZOOKEEPER-2569:
--------------------------------------------

This is not a prolem.
bq. \[zk: localhost:2181(CONNECTED) 14\] setAcl /newNode digest:user:pass:crdwa
This step is wrong. To authorize user:pass id you should set the acl as 
{{setAcl /newNode digest:user:smGaoVKd/cQkjm7b88GyorAUz20=:crdwa}}. So there is 
no plain password here.

> plain password is stored when set individual ACL using digest scheme
> --------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2569
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2569
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 3.5.1
>            Reporter: Rakesh Kumar Singh
>
> Plain password is stored when set individual ACL using digest scheme instead 
> of storing the username and encoded hash string of <username:password>
> [zk: localhost:2181(CONNECTED) 13] addauth digest user:pass
> [zk: localhost:2181(CONNECTED) 14] setAcl /newNode digest:user:pass:crdwa
> [zk: localhost:2181(CONNECTED) 15] getAcl /newNode
> 'digest,'user:pass
> : cdrwa
> [zk: localhost:2181(CONNECTED) 16]



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

Reply via email to