Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security risk regarding passwords #104

Open
git-commit opened this issue Apr 9, 2014 · 0 comments
Open

Security risk regarding passwords #104

git-commit opened this issue Apr 9, 2014 · 0 comments

Comments

@git-commit
Copy link
Collaborator

Some Password Strings or char[] are not immediately collected using
System.gc()
for Strings or overridden with zeros using
Arrays.fill(pwArray,'0') //Better even fill with random character!

Until this is fixed there is the possibility of your password being read by another application.

If you're on windows you can use a tool like OllyDbg or CheatEngine to see if the password remains in memory after usage.
Example screenshot:
image

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

No branches or pull requests

1 participant