hierynomus / hierynomus/sshj

Invalid(Tempered) PrivateKey also authenticates user

Open
#767 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

SSHCLIENT.connect(host,port);
SSHCLIENT.authPublickey(user, keyLocationArr);

It is okay if I give correct key but should not be working if key is invalid/tempered.
Still it is working and Connected & Authenticated returning TRUE always.

1) Using Correct key and fetching remote file info
2) In next run, changing valid key with invalid/tempered one and still fetching remote file info

Is it BUG in library or any solution you can provide.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.