Hi,

I'm considering adding a way for my product to get identities
from ssh-agent (via JNI) so it can pass them to JSch (a wonderful
product!). Before I go down that path, I wanted to ask if anyone
can tell me if the following approach would work:

 - Create a class IdentityAgent that implements Indentity and represents
   one identity retrieved from ssh-agent.

 - Call addIdentity(IdentityAgent) for each of the identities retrieved from
   ssh-agent.

 - Have IdentityAgent return information from ssh-agent for the methods
   getPublicKeyBlob() and getSignature().

 - Have isEncrypted() always return false as no passhprase nor decryption
   will be needed.

Would the above approach work? It would be nice in that I wouldn't need to
change JSch, but I may be misunderstanding the intent of the Identity interface.

Any advice will be much appreciated.

Thanks,

--Steve




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to