Skip to content

Distribute the GPG key for the Debian repository directly from a file instead of from a keyserver #3513

Description

@hwittenborn

Describe the feature or problem you’d like to solve

The installation instructions currently have the keys distributed from a keyserver, instead of being distributed from a key file directly(more info below).

I'm not positive on how keyservers all work, but I think that it's theoretically possible to modify the GPG key on one, and still have it download without complaint(again though, I don't really know much on how they work).

Proposed solution

Serve the GPG key directly from a URL on the GitHub CLI domain, such as https://cli.github.com/apt-key.gpg.

Other Info

If it's any kind of support for it, a lot of projects also distribute their GPG keys in the manner I described, such as:

I'm open to feedback as well if I'm just not understanding how keyservers work.

Activity

  1. mislav commented on May 6, 2021

    @mislav
    Contributor

    Serve the GPG key directly from a URL on the GitHub CLI domain, such as https://cli.github.com/apt-key.gpg.

    I also don't know much about keyservers, but seeing how many users have a problem using apt-add-repository as per our install instructions, including the fact that it's not guaranteed to exist on a specific distro, I would much rather go with the route that you are suggesting to simplify the setup and to have just one set of copy-pasteable instructions for everyone.

    Ref. #2893 #3441 (comment)

  2. vilmibm commented on May 18, 2021

    @vilmibm
    Contributor

    I'm +1 on this.

  3. self-assigned this
    on May 18, 2021
  4. added
    coreThis issue is not accepting PRs from outside contributors
    on May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

coreThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLIpackaging

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions