snapcraft list-keys prints no message when there are no keys

Bug #1622037 reported by Leo Arias
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

When I run snapcraft list-keys without keys associated, I get:

⟫ snapcraft list-keys
Name SHA3-384 fingerprint

It would be better to print a message saying that there are no keys. Maybe even some tips about how to add some.

Revision history for this message
Leo Arias (elopio) wrote :

Text suggestion from Thomi in the dup:
"You have no keys registered, use 'snapcraft register-key' to register one"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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