[ https://issues.apache.org/jira/browse/WAGON-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16668704#comment-16668704 ]
Laurent Granié commented on WAGON-491: -------------------------------------- I was thinking to use Jsch.[addIdentity|https://epaul.github.io/jsch-documentation/simple.javadoc/com/jcraft/jsch/JSch.html#addIdentity-java.lang.String-byte:A-byte:A-byte:A-]([String|http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true] name, byte[] prvkey, byte[] pubkey, byte[] passphrase) > Being able to set certificate via byte[] not only a file > -------------------------------------------------------- > > Key: WAGON-491 > URL: https://issues.apache.org/jira/browse/WAGON-491 > Project: Maven Wagon > Issue Type: New Feature > Components: wagon-ssh > Reporter: Laurent Granié > Priority: Major > Fix For: waiting-for-feedback > > > I'm using wagon outside Maven. > I would like to authenticate on sftp servers via a certificate. > It's possible today via a file with a file path but not if I include the > certificate in the .jar. > I would like to be able to set the certificate with a byte[]. -- This message was sent by Atlassian JIRA (v7.6.3#76005)