Amrit Upreti
Amrit Upreti
Is anyone working on this?
If we paste this key in UI, it will say invalid format. Currently key can only be passed as file. ```plaintext -----BEGIN OPENSSH PRIVATE KEY----- b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn NhAAAAAwEAAQAAAYEArFu4W6rSo4X7ehjVmlmoSK8eHKDJuCbNQh5sAQ0bRJU0YIDN0V+4 8nWax0fENGoH2sYabr5/SgOIfM3urzKuViQ4KU+hwROGewubzVgLiIRWRK4OUEDHNdj6aK QUn3j9Y7ThTenMapriiA5LL9H2P1YCOFG320vq+8M/KyL47FewxM3Dt5NhezGrIEUVOPJy 6lgQ9l3yX3TATgd3ZU8IbKK8Eo/44VpyUbNHymhzGu8DNFifEV3w70m2nCnrqOanPApYJX...
https://github.com/StackStorm/st2/blob/master/st2common/st2common/runners/paramiko_ssh.py#L744 Passing key as file work. That is a completely different path as given above. The problem lies when you key as KeyMaterial. That it needs to be in proper...
> If the webui isn't serialising multi-line input into a valid json encoded string as part of the call to the API then it seems like a bug to me...