crtauth

A public key backed client/server authentication system

License

License

GroupId

GroupId

com.spotify
ArtifactId

ArtifactId

crtauth
Last Version

Last Version

0.2.2
Release Date

Release Date

Type

Type

jar
Description

Description

crtauth
A public key backed client/server authentication system
Project URL

Project URL

https://github.com/spotify/crtauth-java
Source Code Management

Source Code Management

https://github.com/spotify/crtauth-java

Download crtauth

How to add to project

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

Dependencies

compile (2)

Group / Artifact Type Version
com.google.guava : guava jar 17.0
org.slf4j : slf4j-api jar 1.7.7

test (2)

Group / Artifact Type Version
junit : junit jar 4.11
org.mockito : mockito-all jar 1.9.5

Project Modules

There are no modules declared in this project.

crtauth-java

Master Build Status

crtauth-java is a public key backed client/server authentication system written in Java.

crtauth-java is the Java port of the original crtauth implementation that can be found here. The java implementation is fully wire compatible with the python version.

crtauth itself is a system for authenticating a user to a centralized server. The initial use case is to create a convenient authentication for command line tools that interacts with a central server without resorting to authentication using a shared secret, such as a password.

If you are looking at building a client in Java and would like to connect to a local ssh-agent, here's how:

final AgentSigner signer = new AgentSigner();
final byte[] signed = signer.sign(new byte[] {1, 2, 3, 4}, new Fingerprint(publicKey));

License

crtauth-java is free software, this code is released under the Apache Software License, version 2. The original code is written by Federico Piccinini with contributions from Noa Resare, John-John Tedro, Martin Parm and Nic Cope.

All code is Copyright (c) 2015 Spotify AB

com.spotify

Spotify

Versions

Version
0.2.2
0.2.1
0.2.0