Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

spotify/crtauth-java-agent-signer-apache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crtauth java agent signer

An implementation of the Signer interface in crtauth-java that connects to the local ssh-agent.

If you want to see a working example using this code, have a look in crtauth-java-jersey-example in the branch agentsigner (to test it you need to replace id_rsa.pub with a public key that has a corresponding private key in your ssh-agent)

Dependencies

It depends on the Apache sshd-core library which in turn depends on the Tomcat native library to implement UNIX socket communication.

To use this code please make sure that you have installed tcnative. On Ubuntu 14.04 LTS it lives in the libtcnative-1 package.

Credit

This was originally written by Federico Piccinini for the crtauth-java project but was later moved into this small project to simplify dependencies.

License

This software is licensed under the Apache 2 License. Copyright Spotify AB

TODO

  • There is very little in the way of error reporting. Having that would be nice.
  • Some testing perhaps.

About

A Signer for crtauth-java that connects to ssh-agent

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages