Open KimiChiu opened 2 months ago
Hi @KimiChiu,
I'm not especially familiar with Android development, but all these missing classes are for optional features in JSch. I would not expect them to be required unless you use a feature in JSch that would require them:
com.sun.jna.*
classes are only required to interface with Pageant (the SSH agent from the PuTTY project) on Windows platforms on all Java versions.org.newsclub.net.unix.*
classes are only required to interface with an SSH agent over a Unix domain socket on Java versions < 16.org.bouncycastle.crypto.*
classes are only required to utilize specific crypto algorithms unavailable in Java, or only introduced in specific Java versions.
-- For the sntrup761x25519-sha512@openssh.com
KEX algorithm: on all Java versions.
-- For the curve25519-sha256
, curve25519-sha256@libssh.org
& curve448-sha512
KEX algorithms: on Java versions < 11.
-- For the chacha20-poly1305@openssh.com
Cipher algorithm: on all Java versions.
-- For the cast128-cbc
& cast128-ctr
Cipher algorithms: on all Java versions.
-- For the twofish-cbc
, twofish128-cbc
, twofish192-cbc
, twofish256-cbc
, twofish128-ctr
, twofish192-ctr
& twofish256-ctr
Cipher algorithms: on all Java versions.
-- For the seed-cbc@ssh.com
Cipher algorithm: on all Java versions.
-- For the hmac-ripemd160
, hmac-ripemd160@openssh.com
& hmac-ripemd160-etm@openssh.com
MAC algorithms: on all Java versions.
-- For the ssh-ed25519
& ssh-ed448
host key / user auth key algorithms: on Java versions < 15.
-- For PuTTY v3 encrypted user auth keys using the Argon2
password KDF algorithm: on all Java versions.
-- For PKCS#8 encrypted user auth keys using the Scrypt
password KDF algorithm: on all Java versions.Thanks, Jeremy
But there's no any issues when running on Android devices. Should I ignore these warnings? Is it necessary to add these two libraries?