[
https://issues.apache.org/jira/browse/WAGON-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16481905#comment-16481905
]
Laurent Granié commented on WAGON-491:
--------------------------------------
Sorry : PR?
Today, the only way to set the private key is via
[{{AuthenticationInfo}}|http://maven.apache.org/wagon/wagon-provider-api/apidocs/org/apache/maven/wagon/authentication/AuthenticationInfo.html]
using the method
|
|{{[setPrivateKey|http://maven.apache.org/wagon/wagon-provider-api/apidocs/org/apache/maven/wagon/authentication/AuthenticationInfo.html#setPrivateKey-java.lang.String-]([String|http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true]
privateKey)}}
Set the absolute path to private key file.|
The parameter is an absolute path and so, it is not possible to integrate the
key in a jar.
> 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: Bug
> 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)