codebuilds icon indicating copy to clipboard operation
codebuilds copied to clipboard

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

Open jwatte opened this issue 6 years ago • 0 comments

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

jwatte avatar Jun 23 '19 18:06 jwatte