Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

private key validation #2

Closed
ioagel opened this issue Nov 25, 2018 · 4 comments
Closed

private key validation #2

ioagel opened this issue Nov 25, 2018 · 4 comments

Comments

@ioagel
Copy link

ioagel commented Nov 25, 2018

Can you implement private key validation for rsa, ecdsa, ed25519 keys?

@shaqian
Copy link
Owner

shaqian commented Nov 27, 2018

Hi Ioannis,

Are you referring to authentication with a private key, or validating the content of a key string?

Thanks,
Qian

@ioagel
Copy link
Author

ioagel commented Nov 27, 2018

Checking if the private key string is valid as an OpenSSH Accepted Key Type, before storing/using it to make the ssh connection.
I think NMSSH does not implement this functionality. From the Android side I am completely clueless!

Thanks,
Ioannis

@ioagel ioagel closed this as completed Nov 27, 2018
@ioagel ioagel reopened this Nov 27, 2018
@shaqian
Copy link
Owner

shaqian commented Nov 28, 2018

Hi Ioannis,

I didn't find any method in NMSSH and JSch (on Android) that implements this functionality either. Maybe it'd be easier to do some simple regex check on Flutter side.

Thanks,
Qian

@shaqian
Copy link
Owner

shaqian commented Feb 2, 2019

Archiving the issue for now. Feel free to reopen if you have other questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants