Description of the problem: ECDSA keys are not accepted in RHACM , however should be possible according to https://docs.openshift.com/container-platform/4.9/installing/installing_vsphere/installing-vsphere-installer-provisioned-customizations.html Release version: Operator snapshot version: OCP version: Browser Info: Steps to reproduce: 1. add vmware credentials with ECDSA key 2. 3. Actual results: error Expected results: no error Additional info:
@jdiaz could you help to take a look?
Are there hive logs showing an issue?
@jdiaz Sorry for that. It looks like the ACM UI check fails when input the ssh public key. @kcormier could you help to take a look?
G2Bsync 1040467750 comment KevinFCormier Tue, 15 Feb 2022 16:10:52 UTC G2Bsync The current list of supported key types is: ssh-rsa, ssh-dss, ssh-ed25519, ecdsa-sha2-nistp256 See https://github.com/stolostron/console/blob/main/frontend/src/lib/validation.ts#L28 As a workaround, you can enter one of these types for the public key temporarily when creating the Credential, then update the secret via the CLI or using the OCP console to use your ecdsa-sha2-nistp521 public key.
Verified the fix by adding creating vmware credentials using ecdsa-sha2-nistp521 ssh keys and successfully creating a vmware cluster.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Advanced Cluster Management 2.4.3 security updates and bug fixes), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:1476