简体   繁体   English

J2SSH核心库-无法找到其他自定义密钥交换算法实现

[英]J2SSH Core library - Unable find other custom key exchange algorithms implementation

I am searching the implementation of key exchange algorithms for j2ssh core 0.2.9 as below. 我正在搜索以下j2ssh core 0.2.9的密钥交换算法的实现。

diffie-hellman-group-exchange-sha1
diffie-hellman-group14-sha1
diffie-hellman-group1-sha1
ecdh-sha2-nistp256
ecdh-sha2-nistp384
ecdh-sha2-nistp521

Above all should be able to supports j2ssh core library version 0.2.9 and able to add them like how the existing j2ssh core library using key algorithm ie DhGroup1Sha1 by default 最重要的是应该能够支持j2ssh核心库0.2.9版,并且能够像使用密钥算法(即默认情况下为DhGroup1Sha1)使用现有j2ssh核心库一样添加它们

Currently, In my application, I am using j2ssh core library version[0.2.9]. 当前,在我的应用程序中,我正在使用j2ssh核心库版本[0.2.9]。 Switching to other j2ssh library is not feasible for me due to some time constraints. 由于某些时间限制,切换到其他j2ssh库对我来说不可行。

Please help me out if you have any good solution 如果您有任何好的解决方案,请帮助我

Your using an outdated API. 您使用过时的API。 The original J2SSH API has not been maintained for over a decade and I would strongly suggest you stop using it. 原始的J2SSH API已有十多年未维护,强烈建议您停止使用它。 And I'm saying this as the original author of that API. 我是说这是该API的原始作者。

Since your using SSH you are concerned with keeping your connections secure therefore you should be using an up to date API that implements the latest security and practices. 由于您使用的是SSH,因此您要确保连接的安全性,因此您应该使用实现最新安全性和实践的最新API。

There is a replacement API that is maintained currently and supports these key exchange algorithms at https://github.com/sshtools/j2ssh-maverick 当前正在维护一个替代API,该API可在https://github.com/sshtools/j2ssh-maverick支持这些密钥交换算法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM