tomaswolf commented on issue #686:
URL: https://github.com/apache/mina-sshd/issues/686#issuecomment-2717271245
It's a bit hard to provide concrete help without being able to run this
myself :-)
It looks like you should also override isEnabled() to return true. Plus you
should configure the server to propose only AES ciphers, for instance
```
SshServer sshd = ...;
sshd.setCipherFactoryNames("aes128-ctr", "aes192-ctr", "aes256-ctr",
"aes128-gcm", "aes256-gcm");
```
Don't know what else would be needed to have that ConsCrypt provider be
used. I can't really help you with that but I think you're on the right track.
If it still isn't picked up, verify that the key exchange did negotiate an AES
algorithm (switch on debug logging; it's shown there), debug whether the
registrar is indeed registered, and then debug what SecurityUtils.getCipher()
actually does.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]