Hello,
I'm trying to authenticate from my client using apache mina - 2.5.1 using
OpenSsh Certificate.
I have a signed Certificate which I parsed using OpenSshCertificateImpl and
created a KeyPair out of it.
However the auth fails with:
2020-07-17 02:11:20.168DEBUG 4235 --- [ NioProcessor-2]
[
https://issues.apache.org/jira/browse/SSHD-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17160509#comment-17160509
]
Sandeep commented on SSHD-1037:
---
[~lgoldstein] [~gnodet] Here is Junit test
# Generated KeyPair.
# Created
[
https://issues.apache.org/jira/browse/SSHD-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandeep updated SSHD-1037:
--
Attachment: junit_test_output
> private openssh key parsing error
> -
>
>
[
https://issues.apache.org/jira/browse/SSHD-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sandeep updated SSHD-1037:
--
Attachment: KeyGenerationTest.java
> private openssh key parsing error
> -
>
>
[
https://issues.apache.org/jira/browse/SSHD-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17160425#comment-17160425
]
Lyor Goldstein commented on SSHD-1037:
--
{quote}
we have used "SshKeyPairGenerator.java" class from
[
https://issues.apache.org/jira/browse/SSHD-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17160411#comment-17160411
]
Guillaume Nodet commented on SSHD-1037:
---
[~ssmali1505] could you write a junit test that generate
[
https://issues.apache.org/jira/browse/SSHD-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17160351#comment-17160351
]
Sandeep commented on SSHD-1037:
---
[~lgoldstein] here is the steps of generating the above key format.
we
[
https://issues.apache.org/jira/browse/SSHD-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17160341#comment-17160341
]
Lyor Goldstein edited comment on SSHD-1037 at 7/18/20, 6:09 AM:
I have
[
https://issues.apache.org/jira/browse/SSHD-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17160341#comment-17160341
]
Lyor Goldstein commented on SSHD-1037:
--
I have also tried it and got the same - {{Illegal format}}. I