You are not logged in.

#1 2019-03-16 16:27:55

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

[SOLVED] One or more PGP signatures could not be verified!

yaourt -S spotify

spotify-1.0.98.78-Release ... FAILED (unknown public key A87FF9DF48BF1C90)
==> ERROR: One or more PGP signatures could not be verified!

sudo gpg --recv-key A87FF9DF48BF1C90

gpg: key A87FF9DF48BF1C90: public key "Spotify Public Repository Signing Key <tux@spotify.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1

yaourt -S spotify

spotify-1.0.98.78-Release ... FAILED (unknown public key A87FF9DF48BF1C90)
==> ERROR: One or more PGP signatures could not be verified!

wat?

Last edited by TheChosenOne (2019-03-17 20:23:01)

Offline

#2 2019-03-16 16:37:09

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [SOLVED] One or more PGP signatures could not be verified!

You used sudo, so you added the key to root's keychain. Makepkg doesn't run as root. Run gpg without sudo.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2019-03-16 16:49:48

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

gpg: keyserver receive failed: Permission denied

Offline

#4 2019-03-16 17:16:05

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [SOLVED] One or more PGP signatures could not be verified!

If you have not configured dirmngr for root or the none root user and the network connection you were using is the same please try:

killall dirmngr #kill the current dirmngr to hopefully use a different one from the pool on next use
gpg --recv-key A87FF9DF48BF1C90

Last edited by loqs (2019-03-16 18:01:36)

Offline

#5 2019-03-16 18:00:09

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [SOLVED] One or more PGP signatures could not be verified!

If that doesn't work either then post the output of

ls -la ~/.gnupg

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2019-03-16 19:42:15

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

Still the same:

gpg: keyserver receive failed: Permission denied

ls -la ~/.gnupg

drwxr-xr-x   2 thechosenone thechosenone  4096 Oct  5  2015  crls.d
-rw-------   1 thechosenone thechosenone  2643 May 24  2016  dirmngr.conf
-rw-------   1 thechosenone thechosenone    42 Oct  5  2015  gpg-agent.conf
-rw-------   1 thechosenone thechosenone  7711 Mar  2  2017  gpg.conf
-rw-r--r--   1 thechosenone thechosenone     0 Feb  2  2015  .gpg-v21-migrated
-rw-r--r--   1 thechosenone thechosenone   684 May 13  2014  key.txt
drwxr-xr-x   2 thechosenone thechosenone  4096 Oct  6  2017  openpgp-revocs.d
drwx------   2 thechosenone thechosenone  4096 Oct  6  2017  private-keys-v1.d
-rw-------   1 thechosenone thechosenone 33583 Oct  5  2015  pubring.gpg
-rw-------   1 thechosenone thechosenone 33583 Oct  5  2015  pubring.gpg~
-rw-r--r--   1 thechosenone thechosenone 44071 Dec 23 15:57  pubring.kbx
-rw-r--r--   1 thechosenone thechosenone 42798 Oct  6  2017  pubring.kbx~
-rw-------   1 thechosenone thechosenone   600 Jan 12 22:19  random_seed
-rw-------   1 thechosenone thechosenone 12859 Feb  2  2015  secring.gpg
-rw-r-----   1 thechosenone thechosenone   676 Oct  5  2015  sshcontrol
-rw-r--r--   1 thechosenone thechosenone 49152 Dec 23 15:57  tofu.db
-rw-------   1 thechosenone thechosenone  2480 Dec 23 23:11  trustdb.gpg

Last edited by TheChosenOne (2019-03-16 19:42:38)

Offline

#7 2019-03-16 20:37:18

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [SOLVED] One or more PGP signatures could not be verified!

Is there a keyserver specified in ~/.gnupg/dirmngr.conf ?  If there is and  you comment it out then then restart dirmngr again is the result the same?

Offline

#8 2019-03-16 21:03:15

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

This is what is says:

keyserver hkp://keys.gnupg.net

Commented it out, but behavior is still the same (I did killall dirmngr).

Last edited by TheChosenOne (2019-03-16 21:05:03)

Offline

#9 2019-03-16 21:09:16

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [SOLVED] One or more PGP signatures could not be verified!

Did root have a different keyserver configured in its ~/.gnupg/dirmngr.conf?

Offline

#10 2019-03-16 21:40:08

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

It doesn't have this file.

drwx------  2 root root  4096 Oct 15  2016 crls.d
drwx------  2 root root  4096 Jun 30  2018 private-keys-v1.d
-rw-r--r--  1 root root 36235 Mar 16 17:20 pubring.kbx
-rw-r--r--  1 root root 34923 Oct 20 20:12 pubring.kbx~
-rw-------  1 root root  1200 Oct 20 20:12 trustdb.gpg

Offline

#11 2019-03-16 22:45:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [SOLVED] One or more PGP signatures could not be verified!

Please use code tags, not quote tags, for terminal output.

Post the output of

gpg --debug-level guru --recv-key A87FF9DF48BF1C90

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#12 2019-03-16 23:35:25

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat trust hashing ipc clock lookup extprog
gpg: DBG: [not enabled in the source] start
gpg: DBG: chan_3 <- # Home: /home/thechosenone/.gnupg
gpg: DBG: chan_3 <- # Config: /home/thechosenone/.gnupg/dirmngr.conf
gpg: DBG: chan_3 <- OK Dirmngr 2.2.13 at your service
gpg: DBG: connection to the dirmngr established
gpg: DBG: chan_3 -> GETINFO version
gpg: DBG: chan_3 <- D 2.2.13
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> KEYSERVER --clear hkp://subkeys.pgp.net
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> KS_GET -- 0xA87FF9DF48BF1C90
gpg: DBG: chan_3 <- ERR 167804929 Permission denied <Dirmngr>
gpg: keyserver receive failed: Permission denied
gpg: DBG: chan_3 -> BYE
gpg: DBG: [not enabled in the source] stop
gpg: keydb: handles=0 locks=0 parse=0 get=0
gpg:        build=0 update=0 insert=0 delete=0
gpg:        reset=0 found=0 not=0 cache=0 not=0
gpg: kid_not_found_cache: count=0 peak=0 flushes=0
gpg: sig_cache: total=0 cached=0 good=0 bad=0
gpg: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
              outmix=0 getlvl1=0/0 getlvl2=0/0
gpg: rndjent stat: collector=0x0000000000000000 calls=0 bytes=0
gpg: secmem usage: 0/32768 bytes in 0 blocks

Offline

#13 2019-03-16 23:42:51

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: [SOLVED] One or more PGP signatures could not be verified!

TheChosenOne wrote:

This is what is says:

keyserver hkp://keys.gnupg.net

Commented it out, but behavior is still the same (I did killall dirmngr).

gpg: DBG: chan_3 -> KEYSERVER --clear hkp://subkeys.pgp.net

This seems to show it is still enabled / in use.
Edit:
It appears to a different server but it does not appear to be in the default pool https://sks-keyservers.net/status/
What is the contents of ~/.gnupg/dirmngr.conf now?
Edit2:
Please also check if there is a keyserver entry in ~/.gnupg/gpg.conf

Last edited by loqs (2019-03-16 23:53:15)

Offline

#14 2019-03-17 12:25:18

TheChosenOne
Member
Registered: 2012-09-27
Posts: 130

Re: [SOLVED] One or more PGP signatures could not be verified!

Problem solved. Thanks for all the help!
There was still a keyserver in ~/.gnupg/gpg.conf (hkp://subkeys.pgp.net).
Is there a problem with this keyserver?

Offline

#15 2019-03-17 17:33:17

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: [SOLVED] One or more PGP signatures could not be verified!

Apparently. tongue

Please remember to mark your thread as solved by editing the first post and amending the topic title.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#16 2019-11-12 19:03:01

Virax
Member
Registered: 2019-11-12
Posts: 1

Re: [SOLVED] One or more PGP signatures could not be verified!

Hi !

I had the same issue, but the solutions you suggested here didn't worked for me.
However, i could resolve it by downloading the spotify's public key directly from their repos and added it to the list of gpg keys:

 curl -sS https://download.spotify.com/debian/pubkey.gpg | gpg --import -

then i could execute the pamac build without problems:

 pamac build spotify

Even if i'm on Manjaro, it worked.
Hope it can help others!

Last edited by Virax (2019-11-12 19:04:18)

Offline

#17 2019-11-12 20:03:32

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] One or more PGP signatures could not be verified!

Closing this old solved topic.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB