lpsetup probably shouldn't overwrite your SSH keys with nonsense
Bug #1018823 reported by
Graham Binns
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lpsetup |
Fix Committed
|
High
|
Graham Binns |
Bug Description
If you're stupid - like me - you can do something like this, misunderstanding what -v and -b do:
./lp-setup lxc-install [...] -v /home/graham/
What then happens is that both files get overwritten. id_rsa contains "/home/
lp-setup probably shouldn't let you blow away your SSH keys through stupidity. Instead, it should abort if id_rsa and id_rsa.pub already exist.
Related branches
lp:~gmb/lpsetup/dont-blow-away-ssh-keys-bug-1018823
- Benji York (community): Approve (code)
-
Diff: 70 lines (+50/-3)1 file modifiedlpsetup/subcommands/inithost.py (+50/-3)
Changed in lpsetup: | |
status: | Triaged → In Progress |
assignee: | nobody → Graham Binns (gmb) |
Changed in lpsetup: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.