cloudmesh / cloudmesh-cloud

Multicloud Cloudmesh Plugins for cloudmesh cmd5 CMD
https://cloudmesh.github.io/cloudmesh-manual
Apache License 2.0
2 stars 27 forks source link

Extend key command's generation and verification functionality #263

Closed ElectricErudite closed 4 years ago

ElectricErudite commented 4 years ago

Extend the cms key command to 1) Use ~/.ssh/id_rsa or ~/.ssh/id_rsa.pub for all defaults 2) Add checks for existing files before key creation (and password query) 3) Add --force argument for key generation that automatically overwrites files 4) Add functionality to reformat a keys encoding, format, and/or password 5) Extend verification command to check for passwords

This cms config PR will need to be integrated first, since this PR is reliant upon the introduced (--force) argument and the new function (reformat_key)

ElectricErudite commented 4 years ago

https://github.com/cloudmesh/cloudmesh-configuration/pull/12 is necessary to merge before merging this PR.