Skip to content

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

@jwatte

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

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