Skip to content

Comments

Add getPasswordAsChars and deprecate getPassword#4126

Open
aarifkhan7 wants to merge 1 commit intoredis:masterfrom
aarifkhan7:feature/password_as_char_array
Open

Add getPasswordAsChars and deprecate getPassword#4126
aarifkhan7 wants to merge 1 commit intoredis:masterfrom
aarifkhan7:feature/password_as_char_array

Conversation

@aarifkhan7
Copy link

feat: Add getPasswordAsChars() method to interface and class

  • Introduced getPasswordAsChars() method in the relevant interface and Java class.
  • This method provides a char[] alternative to the existing password retrieval mechanism.
  • The goal is to progressively upgrade client classes to use this method for better security and memory management as discussed in DefaultJedisClientConfig password exposure issue #4021.

Further comments are appreciated! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant