[jira] [Created] (SSHD-1243) is GitSshdSessionProcess class Git specific?

2022-01-28 Thread Jira
dgü created SSHD-1243: - Summary: is GitSshdSessionProcess class Git specific? Key: SSHD-1243 URL: https://issues.apache.org/jira/browse/SSHD-1243 Project: MINA SSHD Issue Type: Question Affects Vers

Re: MINA 2.1 vs MINA 2.2 API differences

2022-01-28 Thread Jonathan Valliere
Have you tried printing the entirety of the contents from the Socket inbound and compare against what is passed into the SSLEngine to make sure our buffer combination/management isn’t corrupting the stream? On Jan 28, 2022 at 7:45:29 PM, Emmanuel Lécharny wrote: > Ok, moving forward: > > The te

Re: MINA 2.1 vs MINA 2.2 API differences

2022-01-28 Thread Emmanuel Lécharny
Ok, moving forward: The test does: - create the server and set the SSLFilter with TLS 1.2 - create the secured connection (TLSv1.2) - write a first message ('test-1') - that initiate the HS, then the message is written to the server - once the HS is completed, the response is sent (response 1) -

Re: MINA 2.1 vs MINA 2.2 API differences

2022-01-28 Thread Jonathan Valliere
🤯 On Fri, Jan 28, 2022 at 6:30 PM Emmanuel Lécharny wrote: > It should. > > What is really puzzling is when we set the server to use TLS 1.2 *and* > the client to TLS 1.2, and that fails whatever Java version we use... > > On 29/01/2022 00:14, Jonathan Valliere wrote: > > Shouldn’t it be downgra

Re: MINA 2.1 vs MINA 2.2 API differences

2022-01-28 Thread Emmanuel Lécharny
It should. What is really puzzling is when we set the server to use TLS 1.2 *and* the client to TLS 1.2, and that fails whatever Java version we use... On 29/01/2022 00:14, Jonathan Valliere wrote: Shouldn’t it be downgrading during the handshake? On Fri, Jan 28, 2022 at 6:12 PM Emmanuel Léc

Re: MINA 2.1 vs MINA 2.2 API differences

2022-01-28 Thread Jonathan Valliere
Shouldn’t it be downgrading during the handshake? On Fri, Jan 28, 2022 at 6:12 PM Emmanuel Lécharny wrote: > Hi Jonathan, > > after a big fight, I finally found that the SslFilterTest was failing in > Mina 2.2 with Java 8 and 11 when the client was not set to use TLS V1.3 > (it was set to use "T

Re: MINA 2.1 vs MINA 2.2 API differences

2022-01-28 Thread Emmanuel Lécharny
Hi Jonathan, after a big fight, I finally found that the SslFilterTest was failing in Mina 2.2 with Java 8 and 11 when the client was not set to use TLS V1.3 (it was set to use "TLS"). Note that the client is a plain SSL Socket, created by a SSLSocketFactory. So the combinations that work :

[jira] [Closed] (SSHD-1242) Java SPI for remote command execution

2022-01-28 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] dgü closed SSHD-1242. - Resolution: Cannot Reproduce > Java SPI for remote command execution > - > >

[jira] [Commented] (SSHD-1242) Java SPI for remote command execution

2022-01-28 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483935#comment-17483935 ] dgü commented on SSHD-1242: --- Let me clarify: What I meant is to execute command by a provider(pl

[jira] [Commented] (SSHD-1242) Java SPI for remote command execution

2022-01-28 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483927#comment-17483927 ] dgü commented on SSHD-1242: --- I see it is not possible. What I meant is to execute an executable

[jira] (SSHD-1242) Java SPI for remote command execution

2022-01-28 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1242 ] dgü deleted comment on SSHD-1242: --- was (Author: JIRAUSER284065): I see it is not possible. What I meant is to execute an executable command. For example: SSHRuntimeProvider#exec("ssh://user@host:///tmp

[jira] [Commented] (SSHD-1242) Java SPI for remote command execution

2022-01-28 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483925#comment-17483925 ] dgü commented on SSHD-1242: --- I see it is not possible. What I meant is to execute an executable

[jira] (SSHD-1242) Java SPI for remote command execution

2022-01-28 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1242 ] dgü deleted comment on SSHD-1242: --- was (Author: JIRAUSER284065): I see it is not possible. What I meant is to execute an executable command. For example: SSHRuntimeProvider#exec("ssh://user@host:///tmp

[jira] [Commented] (SSHD-1242) Java SPI for remote command execution

2022-01-28 Thread Lyor Goldstein (Jira)
[ https://issues.apache.org/jira/browse/SSHD-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483896#comment-17483896 ] Lyor Goldstein commented on SSHD-1242: -- {quote}SSHRuntimeProvider#exec(java.nio.file.

[jira] [Commented] (SSHD-1242) Java SPI for remote command execution

2022-01-28 Thread Jira
[ https://issues.apache.org/jira/browse/SSHD-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483825#comment-17483825 ] dgü commented on SSHD-1242: --- Hello! {quote}"Are you asking if there is such a standard API in Ja

[jira] [Commented] (SSHD-1242) Java SPI for remote command execution

2022-01-28 Thread Lyor Goldstein (Jira)
[ https://issues.apache.org/jira/browse/SSHD-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17483630#comment-17483630 ] Lyor Goldstein commented on SSHD-1242: -- I agree - this seems the most likely avenue A