Closed rkpatel33 closed 7 years ago
I'm having the same issue.
Add another to having this issue....
Seems like this is the offending commit: https://github.com/trailofbits/algo/commit/95e0134f2132ba08950327afe70de1db3d71fcc6
It works for me when I checkout the prior commit: https://github.com/trailofbits/algo/commit/e55ce03906b0bb34da6cecf249cef2c5337512e5
Sure is, AWS does not support ed25519 keys.
Thanks!
I seem to be still getting this message after pulling master and running ./algo
again, any ideas here? I have confirmed at I have the fix commit above.
TASK [cloud-ec2 : set_fact] ****************************************************
ok: [localhost]
TASK [cloud-ec2 : Add ssh public key] ******************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: <Response><Errors><Error><Code>InvalidKey.Format</Code><Message>Key is not in valid OpenSSH public key format</Message></Error></Errors><RequestID>4f7cb1a4-9039-4119-b499-a60c53c78858</RequestID></Response>
failed: [localhost] (item=ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKzvfE+qS09w+okgrO0gY7jryF0lSCxdEO/O0UaUhuZe algo@ssh) => {"failed": true, "item": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKzvfE+qS09w+okgrO0gY7jryF0lSCxdEO/O0UaUhuZe algo@ssh", "module_stderr": "Traceback (most recent call last):\n File \"/var/folders/s4/yb1g_2f575jdyn2b3k7g0c9h0000gn/T/ansible_x_qELP/ansible_module_ec2_key.py\", line 244, in <module>\n main()\n File \"/var/folders/s4/yb1g_2f575jdyn2b3k7g0c9h0000gn/T/ansible_x_qELP/ansible_module_ec2_key.py\", line 207, in main\n key = ec2.import_key_pair(name, key_material)\n File \"/Users/rishi/.virtualenv/default/lib/python2.7/site-packages/boto/ec2/connection.py\", line 2940, in import_key_pair\n return self.get_object('ImportKeyPair', params, KeyPair, verb='POST')\n File \"/Users/rishi/.virtualenv/default/lib/python2.7/site-packages/boto/connection.py\", line 1208, in get_object\n raise self.ResponseError(response.status, response.reason, body)\nboto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Response><Errors><Error><Code>InvalidKey.Format</Code><Message>Key is not in valid OpenSSH public key format</Message></Error></Errors><RequestID>4f7cb1a4-9039-4119-b499-a60c53c78858</RequestID></Response>\n", "module_stdout": "", "msg": "MODULE FAILURE"}
Im getting it also
Do I need to open new ticket since this is closed?
@jimmyjam6916 delete the old key rm -f configs/algo.pem
and run algo agian
That did it, thanks!
OS / Environment
macOS Sierra 10.12.3 on Macbook Pro 2013
Ansible version
Version of components from
requirements.txt
Summary of the problem
Command
./algo
fails on this step with the following message:Steps to reproduce the behavior
./algo
Access key ID
at prompt[AKIA...]:
Secret access key
at prompt[ABCD...]:
Do you want macOS/iOS clients to enable "VPN On Demand" when connected to cellular networks?
Do you want macOS/iOS clients to enable "VPN On Demand" when connected to Wi-Fi?
The way of deployment (cloud or local)
EC2
Expected behavior
Actual behavior
Full log