← Back to issue list

snapcraft list-keys with no snap keys returns an empty table

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1736864
Type
issue
State
open
Author
~elopio
Labels
Created
2017-12-07 05:55:13.348136+00:00
Updated
2017-12-08 05:07:10.667468+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

This is similar to https://bugs.launchpad.net/snapcraft/+bug/1720210 My account, according to the store has 5 keys. ( This is are the keys returned by store.get_account_information()['account_keys'] ). However, when I run snap keys, it returns no keys: $ snap keys --json [] In this scenario, when I run snapcraft keys, I get an empty table: $ snapcraft keys Name SHA3-384 fingerprint Instead of reporting an empty table, it should return a nice message saying that no keys are registered. Maybe explaining how to register one.

Evaluation history

No evaluation history available.