Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

[SOLVED] gpg: No keyserver available

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

[SOLVED] gpg: No keyserver available

  • Quote

Post by sdauth » Wed Mar 18, 2026 3:40 pm

Hello,
I was trying to verify a signature for an old vlc version and I received this message :

Code: Select all

gpg: keyserver refresh failed: No keyserver available
After adding one of the following to : ~/.gnupg/gpg.conf

Code: Select all

keyserver hkps://keys.openpgp.org
keyserver hkps://keyserver.ubuntu.com
gpg --refresh-keys & gpg --recv-keys work again.
Then after importing the id, I'm able to verify the signature (although expired of course)

Code: Select all

gpg --verify vlc-2.1.3-win64.exe.asc vlc-2.1.3-win64.exe 
gpg: Signature made Fri Jan 31 12:16:23 2014 CET
gpg:                using DSA key 7180713BE58D1ADC
gpg: Good signature from "VideoLAN Release Signing Key (2018)" [expired]
gpg:                 aka "VideoLAN Release Signing Key (2013)" [expired]
gpg:                 aka "VideoLAN Release Signing Key (2015)" [expired]
gpg:                 aka "VideoLAN Release Signing Key (2014)" [expired]
gpg:                 aka "VideoLAN Release Signing Key (2016)" [expired]
gpg:                 aka "VideoLAN Release Signing Key (2017)" [expired]
gpg: Note: This key has expired!
      65F7C6B4206BD057A7EB73787180713BE58D1ADC
Anyway, I would like to know why do I have to manually add the keyserver line to my ~/.gnupg/gpg.conf.
I don't remember adding that and it worked fine for years without it. (the only line in this file was "use-agent")
I assumed it used hkps://keys.openpgp.org or something else by default.
Last edited by sdauth on Thu Mar 19, 2026 3:10 am, edited 1 time in total.
Top
sdauth
l33t
l33t
User avatar
Posts: 770
Joined: Wed Sep 19, 2018 2:48 am
Location: Ásgarðr

  • Quote

Post by sdauth » Thu Mar 19, 2026 3:04 am

I found this relevant information in dirmngr manual :

Code: Select all

--keyserver
[...]
There is no default keyserver since version 2.5.3.
[...]
2.5.x series was stabilized a few months ago.
I admit I don't use gnupg very often (refreshing keys included) so it is very possible I notice that just now. :o
Top
Post Reply

2 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic