-
Notifications
You must be signed in to change notification settings - Fork 486
Closed
Description
To lower the potential attack surface, it's recommended not to use String to store sensitive data. So I propose to use CharSequence for password parameters (e.g in GitLabApi.login method). We could use implementation like this. It allows to clear the underlying char array after the sensitive information is not needed.
I'm not creating PR because I'm not sure if the underlying HTTP library is able to handle this. The point is that the CharSequence cannot be converted to String at any time - it would break the concept.
If you point me to the right direction, I'm ready to create a new PR.
Metadata
Metadata
Assignees
Labels
No labels