java-keyring
This repo has been cloned from https://bitbucket.org/bpsnervepoint/java-keyring/. The original creator is east301.
Summary
java-keyring is a small library which provides a Java API to store passwords and secrets. Currently, MacOS, Windows and Linux are supported.
Storage
Passwords are stored using the following services.
- MacOS: MacOS Keychain
- Linux: Freedesktop Secret Service (requires Libsecret)
- Windows: Windows Credential Manager
Caution
Data on disk is encrypted which is way better than storing clear data. However, keep in mind that if your user session is compromised by an attacker then he will be able to decrypt data, in the same way you do. This is true for this library but also for any application pretending to store secrets without a main password.
Special Thanks
java-keyring uses the following library, thanks a lot! Source code of the library is available at its project page.