juju remove-ssh-key can remove Juju's own keys

Bug #1555727 reported by Nick Veitch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Martin Packman

Bug Description

Whilst documenting the remove-ssh-key command for 2.0, I noticed that the following both work:

juju remove-ssh-key juju-client-key
juju remove-ssh-key juju-system-key

This seems like it shouldn't be so easy to do, given that it has implications for other operations.

Tags: docteam
Nick Veitch (evilnick)
tags: added: docteam
Nick Veitch (evilnick)
description: updated
Revision history for this message
Cheryl Jennings (cherylj) wrote :

Yeah, that seems bad. Thanks, Nick.

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0-beta3
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta3 → 2.0-beta4
Changed in juju-core:
milestone: 2.0-beta4 → 2.0.1
Mick Gregg (macgreagoir)
Changed in juju-core:
assignee: nobody → Mick Gregg (macgreagoir)
Mick Gregg (macgreagoir)
Changed in juju-core:
status: Triaged → In Progress
Changed in juju-core:
status: In Progress → Triaged
milestone: 2.0.1 → 2.0.0
Changed in juju-core:
milestone: 2.0.0 → 2.0-beta16
assignee: Mick Gregg (macgreagoir) → Martin Packman (gz)
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta16 → none
milestone: none → 2.0-beta16
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0-beta16 → 2.0-beta17
Martin Packman (gz)
Changed in juju:
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0-beta17 → 2.0-beta18
Revision history for this message
Martin Packman (gz) wrote :
Changed in juju:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.