https://github.com/yeregorix/java-keyring
Java API to store passwords.
https://github.com/yeregorix/java-keyring
java keyring library password-manager security
Last synced: about 1 month ago
JSON representation
Java API to store passwords.
- Host: GitHub
- URL: https://github.com/yeregorix/java-keyring
- Owner: Yeregorix
- License: other
- Created: 2019-05-15T19:23:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-10T16:00:10.000Z (over 4 years ago)
- Last Synced: 2025-01-15T12:10:35.713Z (over 1 year ago)
- Topics: java, keyring, library, password-manager, security
- Language: Java
- Homepage:
- Size: 1.63 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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](http://developer.apple.com/documentation/Security/)
* __Linux__: [Freedesktop Secret Service](https://specifications.freedesktop.org/secret-service/) (requires [Libsecret](https://wiki.gnome.org/Projects/Libsecret))
* __Windows__: [Windows Credential Manager](https://support.microsoft.com/en-us/windows/accessing-credential-manager-1b5c916a-6a16-889f-8581-fc16e8165ac0)
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.
* [Java Native Access](https://github.com/java-native-access/jna)