Debian: GPG cannot fetch Linux Kernel key












5















I am in the process of recompiling the kernel on Debian. Following the instructions on kernel.org, the first step is to verify the signature. But GPG complains that it cannot find the public key:



# gpg --verify linux-3.12.22.tar.sign 
gpg: Signature made Wed 11 Jun 2014 17:22:35 CEST using RSA key ID 6092693E
gpg: Can't check signature: public key not found


I have tried to fetch the key:



# gpg --recv-keys 6092693E
gpg: no keyserver known (use option --keyserver)
gpg: keyserver receive failed: bad URI


I have tried to set the keyserver:



# gpg --keyserver subkeys.pgp.net --recv-keys 6092693E
gpg: requesting key 6092693E from hkp server subkeys.pgp.net
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error


What is the problem? Thanks.



Software:




  • Debian GNU/Linux 6


  • GPG 1.4.10



EDIT: I do have a firewall, but its rules don't block outbound traffic. However, connecting to the keyserver on a different port:



$ gpg --keyserver subkeys.pgp.net:80 --recv-keys 6092693E
gpg: requesting key 6092693E from subkeys.pgp.net:80
gpgkeys: no keyserver host provided
gpg: keyserver internal error
gpg: keyserver receive failed: keyserver error









share|improve this question





























    5















    I am in the process of recompiling the kernel on Debian. Following the instructions on kernel.org, the first step is to verify the signature. But GPG complains that it cannot find the public key:



    # gpg --verify linux-3.12.22.tar.sign 
    gpg: Signature made Wed 11 Jun 2014 17:22:35 CEST using RSA key ID 6092693E
    gpg: Can't check signature: public key not found


    I have tried to fetch the key:



    # gpg --recv-keys 6092693E
    gpg: no keyserver known (use option --keyserver)
    gpg: keyserver receive failed: bad URI


    I have tried to set the keyserver:



    # gpg --keyserver subkeys.pgp.net --recv-keys 6092693E
    gpg: requesting key 6092693E from hkp server subkeys.pgp.net
    gpg: keyserver timed out
    gpg: keyserver receive failed: keyserver error


    What is the problem? Thanks.



    Software:




    • Debian GNU/Linux 6


    • GPG 1.4.10



    EDIT: I do have a firewall, but its rules don't block outbound traffic. However, connecting to the keyserver on a different port:



    $ gpg --keyserver subkeys.pgp.net:80 --recv-keys 6092693E
    gpg: requesting key 6092693E from subkeys.pgp.net:80
    gpgkeys: no keyserver host provided
    gpg: keyserver internal error
    gpg: keyserver receive failed: keyserver error









    share|improve this question



























      5












      5








      5


      1






      I am in the process of recompiling the kernel on Debian. Following the instructions on kernel.org, the first step is to verify the signature. But GPG complains that it cannot find the public key:



      # gpg --verify linux-3.12.22.tar.sign 
      gpg: Signature made Wed 11 Jun 2014 17:22:35 CEST using RSA key ID 6092693E
      gpg: Can't check signature: public key not found


      I have tried to fetch the key:



      # gpg --recv-keys 6092693E
      gpg: no keyserver known (use option --keyserver)
      gpg: keyserver receive failed: bad URI


      I have tried to set the keyserver:



      # gpg --keyserver subkeys.pgp.net --recv-keys 6092693E
      gpg: requesting key 6092693E from hkp server subkeys.pgp.net
      gpg: keyserver timed out
      gpg: keyserver receive failed: keyserver error


      What is the problem? Thanks.



      Software:




      • Debian GNU/Linux 6


      • GPG 1.4.10



      EDIT: I do have a firewall, but its rules don't block outbound traffic. However, connecting to the keyserver on a different port:



      $ gpg --keyserver subkeys.pgp.net:80 --recv-keys 6092693E
      gpg: requesting key 6092693E from subkeys.pgp.net:80
      gpgkeys: no keyserver host provided
      gpg: keyserver internal error
      gpg: keyserver receive failed: keyserver error









      share|improve this question
















      I am in the process of recompiling the kernel on Debian. Following the instructions on kernel.org, the first step is to verify the signature. But GPG complains that it cannot find the public key:



      # gpg --verify linux-3.12.22.tar.sign 
      gpg: Signature made Wed 11 Jun 2014 17:22:35 CEST using RSA key ID 6092693E
      gpg: Can't check signature: public key not found


      I have tried to fetch the key:



      # gpg --recv-keys 6092693E
      gpg: no keyserver known (use option --keyserver)
      gpg: keyserver receive failed: bad URI


      I have tried to set the keyserver:



      # gpg --keyserver subkeys.pgp.net --recv-keys 6092693E
      gpg: requesting key 6092693E from hkp server subkeys.pgp.net
      gpg: keyserver timed out
      gpg: keyserver receive failed: keyserver error


      What is the problem? Thanks.



      Software:




      • Debian GNU/Linux 6


      • GPG 1.4.10



      EDIT: I do have a firewall, but its rules don't block outbound traffic. However, connecting to the keyserver on a different port:



      $ gpg --keyserver subkeys.pgp.net:80 --recv-keys 6092693E
      gpg: requesting key 6092693E from subkeys.pgp.net:80
      gpgkeys: no keyserver host provided
      gpg: keyserver internal error
      gpg: keyserver receive failed: keyserver error






      linux kernel gpg signature






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 22 '14 at 11:23







      Elena

















      asked Jun 22 '14 at 8:54









      ElenaElena

      8491630




      8491630






















          1 Answer
          1






          active

          oldest

          votes


















          3














          As error message, you haven't configured gpg server.



          Try this:



          gpg --keyserver subkeys.pgp.net --recv-keys 6092693E && gpg --export --armor 6092693E 
          | sudo apt-key add -


          Updated



          It seems that you can not connect to server:



          gpg: keyserver timed out


          Do you have a firewall block port 11371 of hkp service.



          You can use port 80 instead of 17371:



          gpg --keyserver subkeys.pgp.net:80 --recv-keys 6092693E





          share|improve this answer


























          • Thanks, but I would rather not run a command that I don't understand. How is supposed the second call to gpg to run if the first command in the chain fails? gpg --export --armor 6092693E alone does print a key that can be passed to apt-key add but how does gpg get it, while --recv-keys fails to fetch it?

            – Elena
            Jun 22 '14 at 10:43













          • @Elena: updated my answer.

            – cuonglm
            Jun 22 '14 at 11:00











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f138517%2fdebian-gpg-cannot-fetch-linux-kernel-key%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          As error message, you haven't configured gpg server.



          Try this:



          gpg --keyserver subkeys.pgp.net --recv-keys 6092693E && gpg --export --armor 6092693E 
          | sudo apt-key add -


          Updated



          It seems that you can not connect to server:



          gpg: keyserver timed out


          Do you have a firewall block port 11371 of hkp service.



          You can use port 80 instead of 17371:



          gpg --keyserver subkeys.pgp.net:80 --recv-keys 6092693E





          share|improve this answer


























          • Thanks, but I would rather not run a command that I don't understand. How is supposed the second call to gpg to run if the first command in the chain fails? gpg --export --armor 6092693E alone does print a key that can be passed to apt-key add but how does gpg get it, while --recv-keys fails to fetch it?

            – Elena
            Jun 22 '14 at 10:43













          • @Elena: updated my answer.

            – cuonglm
            Jun 22 '14 at 11:00
















          3














          As error message, you haven't configured gpg server.



          Try this:



          gpg --keyserver subkeys.pgp.net --recv-keys 6092693E && gpg --export --armor 6092693E 
          | sudo apt-key add -


          Updated



          It seems that you can not connect to server:



          gpg: keyserver timed out


          Do you have a firewall block port 11371 of hkp service.



          You can use port 80 instead of 17371:



          gpg --keyserver subkeys.pgp.net:80 --recv-keys 6092693E





          share|improve this answer


























          • Thanks, but I would rather not run a command that I don't understand. How is supposed the second call to gpg to run if the first command in the chain fails? gpg --export --armor 6092693E alone does print a key that can be passed to apt-key add but how does gpg get it, while --recv-keys fails to fetch it?

            – Elena
            Jun 22 '14 at 10:43













          • @Elena: updated my answer.

            – cuonglm
            Jun 22 '14 at 11:00














          3












          3








          3







          As error message, you haven't configured gpg server.



          Try this:



          gpg --keyserver subkeys.pgp.net --recv-keys 6092693E && gpg --export --armor 6092693E 
          | sudo apt-key add -


          Updated



          It seems that you can not connect to server:



          gpg: keyserver timed out


          Do you have a firewall block port 11371 of hkp service.



          You can use port 80 instead of 17371:



          gpg --keyserver subkeys.pgp.net:80 --recv-keys 6092693E





          share|improve this answer















          As error message, you haven't configured gpg server.



          Try this:



          gpg --keyserver subkeys.pgp.net --recv-keys 6092693E && gpg --export --armor 6092693E 
          | sudo apt-key add -


          Updated



          It seems that you can not connect to server:



          gpg: keyserver timed out


          Do you have a firewall block port 11371 of hkp service.



          You can use port 80 instead of 17371:



          gpg --keyserver subkeys.pgp.net:80 --recv-keys 6092693E






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 22 '14 at 11:00

























          answered Jun 22 '14 at 10:00









          cuonglmcuonglm

          103k23202302




          103k23202302













          • Thanks, but I would rather not run a command that I don't understand. How is supposed the second call to gpg to run if the first command in the chain fails? gpg --export --armor 6092693E alone does print a key that can be passed to apt-key add but how does gpg get it, while --recv-keys fails to fetch it?

            – Elena
            Jun 22 '14 at 10:43













          • @Elena: updated my answer.

            – cuonglm
            Jun 22 '14 at 11:00



















          • Thanks, but I would rather not run a command that I don't understand. How is supposed the second call to gpg to run if the first command in the chain fails? gpg --export --armor 6092693E alone does print a key that can be passed to apt-key add but how does gpg get it, while --recv-keys fails to fetch it?

            – Elena
            Jun 22 '14 at 10:43













          • @Elena: updated my answer.

            – cuonglm
            Jun 22 '14 at 11:00

















          Thanks, but I would rather not run a command that I don't understand. How is supposed the second call to gpg to run if the first command in the chain fails? gpg --export --armor 6092693E alone does print a key that can be passed to apt-key add but how does gpg get it, while --recv-keys fails to fetch it?

          – Elena
          Jun 22 '14 at 10:43







          Thanks, but I would rather not run a command that I don't understand. How is supposed the second call to gpg to run if the first command in the chain fails? gpg --export --armor 6092693E alone does print a key that can be passed to apt-key add but how does gpg get it, while --recv-keys fails to fetch it?

          – Elena
          Jun 22 '14 at 10:43















          @Elena: updated my answer.

          – cuonglm
          Jun 22 '14 at 11:00





          @Elena: updated my answer.

          – cuonglm
          Jun 22 '14 at 11:00


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f138517%2fdebian-gpg-cannot-fetch-linux-kernel-key%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Loup dans la culture

          How to solve the problem of ntp “Unable to contact time server” from KDE?

          Connection limited (no internet access)