java-keyring

Java API to store passwords.

License

License

Categories

Categories

Java Languages Net KeY Data Data Formats Formal Verification
GroupId

GroupId

net.smoofyuniverse
ArtifactId

ArtifactId

java-keyring
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

java-keyring
Java API to store passwords.
Project URL

Project URL

https://github.com/Yeregorix/java-keyring
Source Code Management

Source Code Management

https://github.com/Yeregorix/java-keyring

Download java-keyring

How to add to project

<!-- https://jarcasting.com/artifacts/net.smoofyuniverse/java-keyring/ -->
<dependency>
    <groupId>net.smoofyuniverse</groupId>
    <artifactId>java-keyring</artifactId>
    <version>1.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.smoofyuniverse/java-keyring/
implementation 'net.smoofyuniverse:java-keyring:1.2.0'
// https://jarcasting.com/artifacts/net.smoofyuniverse/java-keyring/
implementation ("net.smoofyuniverse:java-keyring:1.2.0")
'net.smoofyuniverse:java-keyring:jar:1.2.0'
<dependency org="net.smoofyuniverse" name="java-keyring" rev="1.2.0">
  <artifact name="java-keyring" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.smoofyuniverse', module='java-keyring', version='1.2.0')
)
libraryDependencies += "net.smoofyuniverse" % "java-keyring" % "1.2.0"
[net.smoofyuniverse/java-keyring "1.2.0"]

Dependencies

compile (1)

Group / Artifact Type Version
net.java.dev.jna : jna jar 5.6.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.13.1

Project Modules

There are no modules declared in this project.

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.

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.

Versions

Version
1.2.0
1.1.0