[
https://issues.apache.org/jira/browse/NIFI-14720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18010987#comment-18010987
]
ASF subversion and git services commented on NIFI-14720:
--------------------------------------------------------
Commit aaff4937f3cf387db8a420738e730c912ef7395e in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=aaff4937f3 ]
NIFI-14720 Switch from SSHJ to MINA SSHD for SFTP (#10124)
* NIFI-14720 Switched from SSHJ to MINA SSHD for SFTP
- Removed references to SSHJ
- Added Algorithm Configuration property to SFTP Processors
- Added SOCKS and HTTP Proxy support using extension of MINA SSHD Netty classes
* NIFI-14720 Corrected ordering of set File Attributes
- Replaced unsupported SO_TIMEOUT option with ReadTimeoutHandler
* NIFI-14720 Corrected Netty EventLoopGroup closing
- Switched to standard Thread Factory with single Thread
- Set WARN level for HostBoundPubkeyAuthentication class
* NIFI-14720 Corrected inefficient String blank checking
> Switch to Apache MINA SSHD for SFTP Processors
> ----------------------------------------------
>
> Key: NIFI-14720
> URL: https://issues.apache.org/jira/browse/NIFI-14720
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Time Spent: 2h 50m
> Remaining Estimate: 0h
>
> NiFi SFTP Processors have used the [SSHJ|https://github.com/hierynomus/sshj]
> library for the last several years, following a migration from JSch. Although
> SSHJ continues to receive regular maintenance, [Apache MINA
> SSHD|https://mina.apache.org/sshd-project/] also provides robust and
> extensible support for SSH and SFTP. NiFi has used MINA SSHD server
> components for unit testing over several years. Moving from SSHJ to MINA SSHD
> reduces the dependency maintenance surface for SFTP Processors while
> maintaining existing capabilities.
> The initial migration should retain existing Processor properties and
> implementation structure built in the internal {{SFTPTransfer}} class. Tests
> that mock particular SSHJ behavior should be removed or redesigned to make
> use of SFTP interaction with MINA SSHD server components where necessary.
> Some low-level features such as particular algorithm negotiation, or private
> key formats like PuTTY, may require manual migration. Support for legacy
> cipher or key negotiation algorithms may require deprecation. Further
> refinement of algorithm selection should be considered separately.
> Moving to MINA SSHD should provide a better foundation for considering future
> changes, such as key management and connection reuse through a separate
> Controller Service.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)