Skip to content

Use apt-key add instead of banging the key file into trusted keys folder #76

Open

Description

@jwatte

The apt based script just mashes the key into the /etc/apt/trusted.gpg.d/ directory.
However, this is not enough to make apt trust the key.
Instead of those shenanigans, just use the "apt-key add" function:

wget -O /var/tmp/headmelted_key.gpg https://packagecloud.io/headmelted/codebuilds/gpgkey
apt-key add /var/tmp/headmelted_key.gpg

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions