spotify/ssh-agent-proxy

Name: ssh-agent-proxy

Owner: Spotify

Description: A Java library that talks to the local ssh-agent.

Created: 2015-10-24 23:56:43.0

Updated: 2018-05-23 01:01:11.0

Pushed: 2017-11-16 16:16:30.0

Homepage: null

Size: 85

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ssh-agent-proxy

Build Status codecov Maven Central License

A Java library that talks to the local ssh-agent. This project is currently in beta phase.

Download

Download the latest JAR or grab via Maven.

endency>
roupId>com.spotify</groupId>
rtifactId>ssh-agent-proxy</artifactId>
ersion>0.1.5</version>
pendency>
Getting started
rt org.apache.commons.codec.binary.Hex;

l byte[] dataToSign = {0xa, 0x2, (byte) 0xff};
l AgentProxy agentProxy = AgentProxies.newInstance();
l List<Identity> identities = agentProxy.list();
(final Identity identity : identities) {
 (identity.getPublicKey().getAlgorithm().equals("RSA")) {
final byte[] signedData = agentProxy.sign(identity, dataToSign);
System.out.println(Hex.encodeHexString(signedData));


Prerequisities

Any platform that has the following

Code of conduct

This project adheres to the Open Code of Conduct. By participating, you are expected to honor this code.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.