You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2020/10/20 11:33:19 UTC

[GitHub] [zookeeper] symat commented on pull request #1318: ZOOKEEPER-3696: support multiple algorithms for ACL digest

symat commented on pull request #1318:
URL: https://github.com/apache/zookeeper/pull/1318#issuecomment-712786283


   About the general comments: nice catch, I totally missed these points.
   
   > with this change all of the clients will have to use the same Digest algorithm ?
   
   yes, it is true. You can't really change the algorithm in production, while active users are connecting to ZooKeeper with their password hashed in the old algorithm. Currently this is the limitation of this approach.
   
   > is it possible to think about an upgrade story ?
   
   This should be possible. Although I don't see an easy way to do this. Honestly, I don't really think it worths the effort to make the digest authentication more complex (e.g. by supporting multiple algorithms in parallel). I think in secure installations the DigestAuthenticationProvider shouldn't be used. (you should rely on more secure key management services, like Kerberos) I think the Super User feature is the only place where digest authentication is indeed practical. But I think the Super User is used during maintenance, and only by operators, so it shouldn't be a problem for them to change the password hash.
   
   What do you think?


----------------------------------------------------------------
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