xafero/java-keyring


Copy of Java Keyring library from bitbucket.org/bpsnervepoint

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.xafero:java-keyring:'
	}
	dependencies {
		implementation("com.github.xafero:java-keyring:")
	}
	<dependency>
	    <groupId>com.github.xafero</groupId>
	    <artifactId>java-keyring</artifactId>
	    <version></version>
	</dependency>

                            
    libraryDependencies += "com.github.xafero" % "java-keyring" % ""
        
        

                            
    :dependencies [[com.github.xafero/java-keyring ""]]
        
        

Readme


java-keyring

Summary

java-keyring is a small library which provides java API to store password etc. securely. Currently Mac OS X, Windows and Linux (GNOME) are supported.

If you find bug, please let me know via issue tracker or twitter @east301. In addition, any patch/modification is highly welcome.

Source code tree

java-keyring package contains the following directories

  • java-keyring directory
    • java-keyring library source code
  • java-keyring-example directory
    • usage example of java-keyring library

Building

mvn clean install

License

Source code of java-keyring and java-keyring-example are available under modified BSD license. See the file LICENSE for more details.

Special Thanks

java-keyring uses the following library, thanks a lot! java-keyring package contains copy of compiled JNA library. Source code of the library is available at its project page.