-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
status: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continue
Description
Feature Request
Redis appears to be poorly designed security-wise, and in most ACL configurations it is not possible to use HELLO to authenticate because you have to authenticate first in order to be allowed to call it.
By default, of if configured to use RESP3, Lettuce will try to do this. It will only work if the default user is configured with no password.
Is your feature request related to a problem? Please describe
In most secure configurations you will get #1379.
Describe the solution you'd like
Lettuce should always AUTH first if a (username and) password is provided, before doing any protocol negotiation.
Describe alternatives you've considered
Either always force RESP2, or configure user default on nopass +hello.
The former requires user code changes and is less efficient. The latter is not appropriate if you need the default user for something else.
Teachability, Documentation, Adoption, Migration Strategy
No change to visible API/config.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continue