Skip to content

debian repository keys #8298

Description

@532910

It's better to put .asc or .gpg file into `/etc/apt/trusted.gpg.d``` like

sudo wget -O /etc/apt/trusted.gpg.d/docker.asc https://download.docker.com/linux/debian/gpg

instead of apt-key add

curl -s /etc/apt/trusted.gpg.d/docker.asc | sudo apt-key add -

man APT-KEY(8):

Note: Instead of using this command a keyring should be placed directly in the /etc/apt/trusted.gpg.d/ directory with a descriptive name and either "gpg" or "asc" as file extension.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions