← Back to issue list

Investigate why `list-keys` makes repeated API calls

View original Github issue

Metadata

Project
snapcraft
Number
#5683
Type
issue
State
open
Author
mr-cal
Labels
Status: Triaged Type: Research
Created
2025-08-07 19:06:45+00:00
Updated
2025-08-07 19:06:55+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done See if we can reduce the number of API calls in `snapcraft list-keys`. ### Why it needs to get done `snapcraft list-keys` makes repeated API calls to list keys, which can be seen in the unit tests [here](https://github.com/canonical/snapcraft/blob/d5ddb55443782ef571ec97a53b92f8d58b3eac74/tests/legacy/unit/commands/test_list_keys.py#L29).

Evaluation history

No evaluation history available.