Open robert-sanfeliu opened 2 days ago
In the cloud registration form, If I provide the following value in "Key Private Key" field:
-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAlEu1UYevZmtuOosEY+oiIDNLEwWnkrUvIyTfp7X/tcEmkfIE\n...
-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAlEu1UYevZmtuOosEY+oiIDNLEwWnkrUvIyTfp7X/tcEmkfIE\n
EXN middleware library reports that this message is sent to SAL:
... "privateKey":"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEAlEu1UYevZmtuOosEY+oiIDNLEwWnkrUvIyTfp7X/tcEmkfIE\\ncYtQasYrgpvyT6Ev3fJpvY6UWb2poL+zciw8Pf5362m/9Aun ....
"privateKey":"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEAlEu1UYevZmtuOosEY+oiIDNLEwWnkrUvIyTfp7X/tcEmkfIE\\ncYtQasYrgpvyT6Ev3fJpvY6UWb2poL+zciw8Pf5362m/9Aun
\n characters are escaped to \\n, making the SSH key invalid.
\n
\\n
I assume it is an error of the UI, if it comes from EXN middleware, please, feel free to assign it to the responsible person and move it to the appropriate repo.
In the cloud registration form, If I provide the following value in "Key Private Key" field:
-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEAlEu1UYevZmtuOosEY+oiIDNLEwWnkrUvIyTfp7X/tcEmkfIE\n
...EXN middleware library reports that this message is sent to SAL:
...
"privateKey":"-----BEGIN RSA PRIVATE KEY-----\\nMIIEogIBAAKCAQEAlEu1UYevZmtuOosEY+oiIDNLEwWnkrUvIyTfp7X/tcEmkfIE\\ncYtQasYrgpvyT6Ev3fJpvY6UWb2poL+zciw8Pf5362m/9Aun
....\n
characters are escaped to\\n
, making the SSH key invalid.