Skip to content

SSH Key Authentication is breaking in sshj-0.32.0 which worked in sshj-0.21.0 #843

Answered by exceptionfactory
ptg1792 asked this question in Q&A
Discussion options

You must be logged in to vote

@ptg1792 The stack trace with a NullPointerException references lines 20 of EdDSAPublicKeySpec, which corresponds to version 0.1.0. Version 0.2.0 and 0.3.0, which more recent versions of SSHJ use, changed the name for the curve. This means that version 0.1.0 of net.i2p.crypto:eddsa is not compatible with recent versions of SSHJ, and could result in the stack trace with the NullPointerException.

SSHJ has a direct dependency on eddsa 0.3.0, but it seems like the runtime class path is still referencing version 0.1.0. If you can track down the source of that library and make sure it is updated to version 0.3.0, that may solve the problem.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
6 replies
@exceptionfactory
Comment options

@ptg1792
Comment options

@ptg1792
Comment options

@exceptionfactory
Comment options

@exceptionfactory
Comment options

Comment options

You must be logged in to vote
3 replies
@ptg1792
Comment options

@ptg1792
Comment options

@exceptionfactory
Comment options

Answer selected by ptg1792
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants