snap delete-key uses graphical dialog

Bug #1815220 reported by Kyle Fazzari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Low
Unassigned

Bug Description

So I create a key:

$ snap create-key
Passphrase:
Confirm passphrase:

Fine, no problem. Then I want to delete it:

$ snap delete-key default

And instead of just doing it, or asking for confirmation in the terminal, it actually pops up a GUI dialog asking if I'm sure I want to delete it (also, the key date is back in 2016... huh?). It feels very odd for terminal applications to require GUI interactions in order to do things, can we ask that question in the terminal, instead?

$ snap version
snap 2.37.1.1+18.04
snapd 2.37.1.1+18.04
series 16
ubuntu 18.04
kernel 4.15.0-45-generic

Revision history for this message
Kyle Fazzari (kyrofa) wrote :

This seems to apply to export-key as well-- the password prompt is a GUI dialog.

Revision history for this message
John Lenton (chipaca) wrote :

can you `xwininfo` the dialog?

Zygmunt Krynicki (zyga)
Changed in snapd:
status: New → Triaged
importance: Undecided → Low
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.