Signal-desktop: linux install fails with: ¨gpg: no valid OpenPGP data found¨ message

Created on 4 Feb 2018  Â·  13Comments  Â·  Source: signalapp/Signal-Desktop

  • [x] I have searched open and closed issues for duplicates

Bug description

linux install fails with: ¨gpg: no valid OpenPGP data found¨ message

when using:
curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -

Steps to reproduce

  1. issue the following command:
    curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -

  2. getting this error message:
    gpg: no valid OpenPGP data found.

Actual result:

Expected result:

Screenshots

Platform info

elementary-os .4 loki

Signal version:

latest

Operating System:

Linked device version:

Link to debug log

Bug

Most helpful comment

curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -

  1. curl -O https://updates.signal.org/desktop/apt/keys.asc # download the keys.asc
  2. cat keys.asc # check the keys.asc if the keys.asc is true then next
  3. sudo apt-key add keys.asc # add the keys.asc

All 13 comments

Hey there! It looks like you had a small change in our recommended command. The included https:// is really important - otherwise, our server will reject the request. This should work for you:

curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -

This does not fix the issue, I am still getting the same error!

Please re-open.

Please provide the the results of this command:

curl -vs https://updates.signal.org/desktop/apt/keys.asc

You can either provide that output here, or contact me directly.

curl -vs https://updates.signal.org/desktop/apt/keys.asc

  • Trying 13.32.80.19...
  • Trying 2600:9000:2009:f600:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:f600:16:675e:2280:93a1: Network
    is unreachable
  • Trying 2600:9000:2009:1a00:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:1a00:16:675e:2280:93a1: Network
    is unreachable
  • Trying 2600:9000:2009:5600:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:5600:16:675e:2280:93a1: Network
    is unreachable
  • Trying 2600:9000:2009:f400:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:f400:16:675e:2280:93a1: Network
    is unreachable
  • Trying 2600:9000:2009:4200:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:4200:16:675e:2280:93a1: Network
    is unreachable
  • Trying 2600:9000:2009:a200:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:a200:16:675e:2280:93a1: Network
    is unreachable
  • Trying 2600:9000:2009:9a00:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:9a00:16:675e:2280:93a1: Network
    is unreachable
  • Trying 2600:9000:2009:7e00:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:7e00:16:675e:2280:93a1: Network
    is unreachable
  • Connected to updates.signal.org (13.32.80.19) port 443 (#0)
  • ALPN, offering http/1.1
  • Cipher selection:
    ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
  • error setting certificate verify locations:
    CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
  • Closing connection 0

Cheers!

Wolfgang Sanyer

Software Consultant

+1-919-200-0088

http://goog_56713073

[image: ] https://www.linkedin.com/in/wolfgangsanyer
https://github.com/wolfieman http://sanyer.org

On Thu, Feb 8, 2018 at 4:18 PM, Scott Nonnenberg notifications@github.com
wrote:

Please provide the the results of this command:

curl -vs https://updates.signal.org/desktop/apt/keys.asc

You can either provide that output here, or contact me directly.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/signalapp/Signal-Desktop/issues/2033#issuecomment-364251523,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALnaTZQAvZ8UyZzM-L09PHaa4YeAu62ks5tS2S3gaJpZM4R4vcz
.

Command issued via vpn connection:

curl -vs https://updates.signal.org/desktop/apt/keys.asc

  • Trying 13.32.80.19...
  • Trying 2600:9000:2009:f600:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:f600:16:675e:2280:93a1: Network is unreachable
  • Trying 2600:9000:2009:1a00:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:1a00:16:675e:2280:93a1: Network is unreachable
  • Trying 2600:9000:2009:5600:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:5600:16:675e:2280:93a1: Network is unreachable
  • Trying 2600:9000:2009:f400:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:f400:16:675e:2280:93a1: Network is unreachable
  • Trying 2600:9000:2009:4200:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:4200:16:675e:2280:93a1: Network is unreachable
  • Trying 2600:9000:2009:a200:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:a200:16:675e:2280:93a1: Network is unreachable
  • Trying 2600:9000:2009:9a00:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:9a00:16:675e:2280:93a1: Network is unreachable
  • Trying 2600:9000:2009:7e00:16:675e:2280:93a1...
  • Immediate connect fail for 2600:9000:2009:7e00:16:675e:2280:93a1: Network is unreachable
  • Connected to updates.signal.org (13.32.80.19) port 443 (#0)
  • ALPN, offering http/1.1
  • Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
  • error setting certificate verify locations:
    CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
  • Closing connection 0

When the command is issued without a vpn connection:
curl -vs https://updates.signal.org/desktop/apt/keys.asc

  • Trying 54.192.122.206...
  • Connected to updates.signal.org (54.192.122.206) port 443 (#0)
  • ALPN, offering http/1.1
  • Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
  • error setting certificate verify locations:
    CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
  • Closing connection 0

Looks like you might have a configuration problem on your machine, where curl is looking for your root certificate authorities in the wrong place. Maybe this stack overflow issue will help? https://stackoverflow.com/questions/3160909/how-do-i-deal-with-certificates-using-curl-while-trying-to-access-an-https-url

That stackoverflow post helped!

I was able to install afterwards.

One caveat: these lines are actually just one:
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list

Thanks!

curl https://bazel.build/bazel-release.pub... | sudo apt-key add -
verify locations:
CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
gpg: no valid OpenPGP data found.

can not fix yet

curl -vs https://updates.signal.org/desktop/apt/keys.asc

Trying 13.33.148.127...

  • Connected to updates.signal.org (13.33.148.127) port 443 (#0)
  • ALPN, offering http/1.1
  • Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
  • error setting certificate verify locations:
    CAfile: /etc/pki/tls/certs/ca-bundle.crt
    CApath: none
  • Closing connection 0 @scottnonnenberg

I had the same problem, for me the issue was connected with curl, which wasn't installed properly.
Anyway, this link was my first google search result, maybe my experience will help somebody.

curl -s https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -

  1. curl -O https://updates.signal.org/desktop/apt/keys.asc # download the keys.asc
  2. cat keys.asc # check the keys.asc if the keys.asc is true then next
  3. sudo apt-key add keys.asc # add the keys.asc
Was this page helpful?
0 / 5 - 0 ratings