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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A Java library that talks to the local ssh-agent. This project is currently in beta phase.
Download the latest JAR or grab via Maven.
endency>
roupId>com.spotify</groupId>
rtifactId>ssh-agent-proxy</artifactId>
ersion>0.1.5</version>
pendency>
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));
Any platform that has the following
This project adheres to the Open Code of Conduct. By participating, you are expected to honor this code.