Sublime Forum

Installing GPG Key with https://

#1

Hi, just a heads up on the docs when installing the GPG key with apt using the https url:

$ sudo apt-key adv --fetch-keys https://download.sublimetext.com/sublimehq-pub.gpg
Executing: /tmp/tmp.dNB4OW2ipc/gpg.1.sh --fetch-keys
https://download.sublimetext.com/sublimehq-pub.gpg
gpgkeys: protocol https' not supported gpg: no handler for keyserver schemehttps’
gpg: WARNING: unable to fetch URI https://download.sublimetext.com/sublimehq-pub.gpg: keyserver error
$ sudo apt-key adv --fetch-keys http://download.sublimetext.com/sublimehq-pub.gpg
Executing: /tmp/tmp.8Q7QODfmSR/gpg.1.sh --fetch-keys
http://download.sublimetext.com/sublimehq-pub.gpg
gpg: key 8A8F901A: public key “Sublime HQ Pty Ltd support@sublimetext.com” imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

0 Likes

#2

What distro and version of apt-key are you running?

0 Likes

#3

Hey Will- I’m on Ubuntu 16.04.2 LTS and apt version 1.2.21.

0 Likes

#4

I’ve updated the instructions to use wget and have apt-get read from stdin to work around the fact that older versions of Ubuntu ship with a gpg that can’t load from HTTPS.

2 Likes

#5

Ahh, good to know. Thanks again.

0 Likes

#6

@arvin :information_source: The updated forum now lets you accept answers and/or mark a topic (=issue?) as resolved.

1 Like