← Back to issue list

No explanation for using local GPG keys

View original Github issue

Metadata

Project
craft-archives
Number
#190
Type
issue
State
open
Author
dilyn-corner
Labels
Status: Triaged Type: Documentation Type: Enhancement
Created
2025-08-06 15:38:04+00:00
Updated
2025-08-14 01:30:14+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

https://github.com/canonical/craft-archives/blob/7c35cc475af18f1525e75b206e828a3b1bf23a38/docs/reference/repo_properties.rst?plain=1#L2 The documentation does not explain how to use a local GPG key instead of relying on a key server. For instance I would expect this explanation to be somewhere: https://github.com/canonical/craft-archives/blob/7c35cc475af18f1525e75b206e828a3b1bf23a38/craft_archives/repo/apt_key_manager.py#L81-L98 Along with the path the key must be in (`snap/keys/lasteightcharacters.asc`), and that local keys would be privileged over remote keys: https://github.com/canonical/craft-archives/blob/7c35cc475af18f1525e75b206e828a3b1bf23a38/craft_archives/repo/apt_key_manager.py#L249-L253 In general, an explanation on how to get the ASC, identify the fingerprint, and the ID would be exceptionally useful (as most people are still quite unaware of how GPG works or what these things mean...)

Evaluation history

No evaluation history available.