User not prompted for keyPassphrase if in secure array of ssh profile #1770
Labels
bug
Something isn't working
priority-medium
Not functioning - next quarter if capacity permits
severity-medium
Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Describe the bug
If user has ssh keys in place and includes the path to it as value for
privateKey
then adds thekeyPassphrase
to the ssh profile's secure array an error is returnedCannot parse privateKey: Encrypted private OpenSSH key detected, but no passphrase given
but user wasn't prompted for the keyPassphrase. If the tag--keyPassphrase
is used with the command or the passphrase is stored under properties in plain text the connection works.Expected and actual results
User should be prompted for secure values, especially passwords/passphrases, if not already stored securely in keystore.
-->
Describe your environment
zowe --version
): 7.17.0zowe plugins list --short
):node --version
,npm --version
): node v16.19.0; npm v9.7.2Additional context
The text was updated successfully, but these errors were encountered: