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

Bug when the publickey file path contains Chinese characters #159

Open
Yurunsoft opened this issue Aug 17, 2021 · 5 comments
Open

Bug when the publickey file path contains Chinese characters #159

Yurunsoft opened this issue Aug 17, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Yurunsoft
Copy link

[2021-08-17 10:59:48] ssh_pki_import_privkey_file: Error opening D:\XX新密钥\xx_dt: No such file or directory
[2021-08-17 10:59:51] ssh_pki_import_privkey_file: Error opening D:\XX新密钥\xx_dt: No such file or directory
@Yurunsoft
Copy link
Author

A prompt should be given on the GUI instead of "Authentication failed, please try again."

@kingToolbox
Copy link
Owner

Thank you. I will check and fix this issue. The SSH feature of WindTerm is implemented based on the libssh libaray. and sometimes libssh may not report the detailed error message, so there is no way to get it. Let me see if it can be achieved by modifying the libssh code.

@SlaviusPrime
Copy link

Bug with cyrillic symbols is too.

@kingToolbox
Copy link
Owner

Thank you, I think this is because libssh does not correctly handle the system encoding when setting the public-key path. I will fix this in WindTerm_2.2.0_Prerelease_1 version.

@kingToolbox kingToolbox self-assigned this Aug 18, 2021
@kingToolbox kingToolbox added the bug Something isn't working label Aug 18, 2021
@kingToolbox
Copy link
Owner

Sorry for the late reply. I just finished a long trip, and because there is no Internet, I can't deal with the issue in time.

I am happy to inform you that WindTerm_2.2.0_Prerelease_1 has been released and this issue has been fixed. You can download and check it now. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants