VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   General (https://forums.vandyke.com/forumdisplay.php?f=11)
-   -   Allowed characters in private key passphrase? (https://forums.vandyke.com/showthread.php?t=13962)

IngoThierack 11-03-2019 06:01 AM

Allowed characters in private key passphrase?
 
Hi,
I'm on Windows 10 64bit, SecureCRT 8.5.4 (x64 Build 1942)

I generated a new key-pair on a Centos 7.7 box with openssl(OpenSSL 1.0.2k), set the passphrase(no ascii character in there) and transferred the private key to the windows-box.
Try to login with the new key on a linux-server. Got the query for the passphrase. And then get an error for invalid password. Tried then from the linux-box with the same key, put the passphrase in, it works.

Change(replace some special characters) the passphrase on the centos-box transfer the privat-key again. Now it works.

I'm always logged in with SecureCRT. But with old key-pair(other password then the new one) or password. So i think is for sure no problem with the keyboard settings.

That leads me to conclusion, there are some characters not allowed in the passphrase in SecureCRT, which are no problems for openssl.

Any hint here if there is a solution for this?

By the way. It would be great to import an manage the private key somehow in SecureCRT itself, so when i copy the settings, it is included. Not the current file-based solution.

Regards,
Ingo

berdmann 11-04-2019 12:32 PM

Hi IngoThierack,

I would like to try to replicate the behavior. Can you tell me exactly what command sequence you used to generate your key-pair?

You mentioned that you changed special characters in the passphrase which seemed to resolve the issue when you connected via SecureCRT, can you please elaborate? What specific characters were part of the previous passphrase that are no longer there in the new passphrase?

These public forums are maybe not the best avenue to troubleshoot this issue. Feel free to send an email to support@vandyke.com with ATTN: Brittney, Forum Thread #13962 in the subject field.


All times are GMT -6. The time now is 02:41 PM.