GPG Cannot Find Keys

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I transferred my keys using unison to another machine. On the other machine, gpg cannot find any keys.



$ gpg --list-secret-keys
$


list-secret-keys does not output anything.



$ ls -lha .gnupg/
total 76K
drwx------ 5 alex alex 4,0K Mär 8 23:38 .
drwxr-xr-x 116 alex alex 36K Mär 8 23:11 ..
drwx------ 2 alex alex 4,0K Mär 8 23:38 crls.d
-rw------- 1 alex alex 2,9K Dez 15 2017 dirmngr.conf
-rw------- 1 alex alex 5,1K Dez 15 2017 gpg.conf
drwx------ 2 alex alex 4,0K Mär 8 23:38 openpgp-revocs.d
drwx------ 2 alex alex 4,0K Mär 8 23:38 private-keys-v1.d
-rw------- 1 alex alex 32 Dez 15 2017 pubring.kbx
-rw------- 1 alex alex 32 Mär 8 23:38 pubring.kbx~
-rw------- 1 alex alex 1,2K Dez 15 2017 trustdb.gpg


but the files are there..



On the first machine:



$ ls -lha .gnupg/
total 44K
drwx------ 5 alex alex 4,0K Feb 10 22:16 .
drwxr-xr-x 92 alex alex 4,0K Mär 9 10:14 ..
drwx------ 2 alex alex 4,0K Feb 10 22:16 crls.d
-rw------- 1 alex alex 2,9K Dez 26 2017 dirmngr.conf
-rw------- 1 alex alex 5,1K Dez 26 2017 gpg.conf
drwx------ 2 alex alex 4,0K Feb 10 20:37 openpgp-revocs.d
drwx------ 2 alex alex 4,0K Feb 10 20:37 private-keys-v1.d
-rw-r--r-- 1 alex alex 2,0K Feb 10 20:37 pubring.kbx
-rw------- 1 alex alex 32 Dez 26 2017 pubring.kbx~
-rw------- 1 alex alex 1,3K Feb 10 22:14 trustdb.gpg



$ gpg --list-secret-keys
/home/alex/.gnupg/pubring.kbx
-----------------------------
sec rsa3072 2019-02-10 [SC] [expires: 2021-02-09]
9806B421CC66EC0E4F1xxxxxxxxxx1B700F021CA
uid [ultimate] A K <ak@gmail.com>
ssb rsa3072 2019-02-10 [E] [expires: 2021-02-09]









share|improve this question






























    0















    I transferred my keys using unison to another machine. On the other machine, gpg cannot find any keys.



    $ gpg --list-secret-keys
    $


    list-secret-keys does not output anything.



    $ ls -lha .gnupg/
    total 76K
    drwx------ 5 alex alex 4,0K Mär 8 23:38 .
    drwxr-xr-x 116 alex alex 36K Mär 8 23:11 ..
    drwx------ 2 alex alex 4,0K Mär 8 23:38 crls.d
    -rw------- 1 alex alex 2,9K Dez 15 2017 dirmngr.conf
    -rw------- 1 alex alex 5,1K Dez 15 2017 gpg.conf
    drwx------ 2 alex alex 4,0K Mär 8 23:38 openpgp-revocs.d
    drwx------ 2 alex alex 4,0K Mär 8 23:38 private-keys-v1.d
    -rw------- 1 alex alex 32 Dez 15 2017 pubring.kbx
    -rw------- 1 alex alex 32 Mär 8 23:38 pubring.kbx~
    -rw------- 1 alex alex 1,2K Dez 15 2017 trustdb.gpg


    but the files are there..



    On the first machine:



    $ ls -lha .gnupg/
    total 44K
    drwx------ 5 alex alex 4,0K Feb 10 22:16 .
    drwxr-xr-x 92 alex alex 4,0K Mär 9 10:14 ..
    drwx------ 2 alex alex 4,0K Feb 10 22:16 crls.d
    -rw------- 1 alex alex 2,9K Dez 26 2017 dirmngr.conf
    -rw------- 1 alex alex 5,1K Dez 26 2017 gpg.conf
    drwx------ 2 alex alex 4,0K Feb 10 20:37 openpgp-revocs.d
    drwx------ 2 alex alex 4,0K Feb 10 20:37 private-keys-v1.d
    -rw-r--r-- 1 alex alex 2,0K Feb 10 20:37 pubring.kbx
    -rw------- 1 alex alex 32 Dez 26 2017 pubring.kbx~
    -rw------- 1 alex alex 1,3K Feb 10 22:14 trustdb.gpg



    $ gpg --list-secret-keys
    /home/alex/.gnupg/pubring.kbx
    -----------------------------
    sec rsa3072 2019-02-10 [SC] [expires: 2021-02-09]
    9806B421CC66EC0E4F1xxxxxxxxxx1B700F021CA
    uid [ultimate] A K <ak@gmail.com>
    ssb rsa3072 2019-02-10 [E] [expires: 2021-02-09]









    share|improve this question


























      0












      0








      0








      I transferred my keys using unison to another machine. On the other machine, gpg cannot find any keys.



      $ gpg --list-secret-keys
      $


      list-secret-keys does not output anything.



      $ ls -lha .gnupg/
      total 76K
      drwx------ 5 alex alex 4,0K Mär 8 23:38 .
      drwxr-xr-x 116 alex alex 36K Mär 8 23:11 ..
      drwx------ 2 alex alex 4,0K Mär 8 23:38 crls.d
      -rw------- 1 alex alex 2,9K Dez 15 2017 dirmngr.conf
      -rw------- 1 alex alex 5,1K Dez 15 2017 gpg.conf
      drwx------ 2 alex alex 4,0K Mär 8 23:38 openpgp-revocs.d
      drwx------ 2 alex alex 4,0K Mär 8 23:38 private-keys-v1.d
      -rw------- 1 alex alex 32 Dez 15 2017 pubring.kbx
      -rw------- 1 alex alex 32 Mär 8 23:38 pubring.kbx~
      -rw------- 1 alex alex 1,2K Dez 15 2017 trustdb.gpg


      but the files are there..



      On the first machine:



      $ ls -lha .gnupg/
      total 44K
      drwx------ 5 alex alex 4,0K Feb 10 22:16 .
      drwxr-xr-x 92 alex alex 4,0K Mär 9 10:14 ..
      drwx------ 2 alex alex 4,0K Feb 10 22:16 crls.d
      -rw------- 1 alex alex 2,9K Dez 26 2017 dirmngr.conf
      -rw------- 1 alex alex 5,1K Dez 26 2017 gpg.conf
      drwx------ 2 alex alex 4,0K Feb 10 20:37 openpgp-revocs.d
      drwx------ 2 alex alex 4,0K Feb 10 20:37 private-keys-v1.d
      -rw-r--r-- 1 alex alex 2,0K Feb 10 20:37 pubring.kbx
      -rw------- 1 alex alex 32 Dez 26 2017 pubring.kbx~
      -rw------- 1 alex alex 1,3K Feb 10 22:14 trustdb.gpg



      $ gpg --list-secret-keys
      /home/alex/.gnupg/pubring.kbx
      -----------------------------
      sec rsa3072 2019-02-10 [SC] [expires: 2021-02-09]
      9806B421CC66EC0E4F1xxxxxxxxxx1B700F021CA
      uid [ultimate] A K <ak@gmail.com>
      ssb rsa3072 2019-02-10 [E] [expires: 2021-02-09]









      share|improve this question
















      I transferred my keys using unison to another machine. On the other machine, gpg cannot find any keys.



      $ gpg --list-secret-keys
      $


      list-secret-keys does not output anything.



      $ ls -lha .gnupg/
      total 76K
      drwx------ 5 alex alex 4,0K Mär 8 23:38 .
      drwxr-xr-x 116 alex alex 36K Mär 8 23:11 ..
      drwx------ 2 alex alex 4,0K Mär 8 23:38 crls.d
      -rw------- 1 alex alex 2,9K Dez 15 2017 dirmngr.conf
      -rw------- 1 alex alex 5,1K Dez 15 2017 gpg.conf
      drwx------ 2 alex alex 4,0K Mär 8 23:38 openpgp-revocs.d
      drwx------ 2 alex alex 4,0K Mär 8 23:38 private-keys-v1.d
      -rw------- 1 alex alex 32 Dez 15 2017 pubring.kbx
      -rw------- 1 alex alex 32 Mär 8 23:38 pubring.kbx~
      -rw------- 1 alex alex 1,2K Dez 15 2017 trustdb.gpg


      but the files are there..



      On the first machine:



      $ ls -lha .gnupg/
      total 44K
      drwx------ 5 alex alex 4,0K Feb 10 22:16 .
      drwxr-xr-x 92 alex alex 4,0K Mär 9 10:14 ..
      drwx------ 2 alex alex 4,0K Feb 10 22:16 crls.d
      -rw------- 1 alex alex 2,9K Dez 26 2017 dirmngr.conf
      -rw------- 1 alex alex 5,1K Dez 26 2017 gpg.conf
      drwx------ 2 alex alex 4,0K Feb 10 20:37 openpgp-revocs.d
      drwx------ 2 alex alex 4,0K Feb 10 20:37 private-keys-v1.d
      -rw-r--r-- 1 alex alex 2,0K Feb 10 20:37 pubring.kbx
      -rw------- 1 alex alex 32 Dez 26 2017 pubring.kbx~
      -rw------- 1 alex alex 1,3K Feb 10 22:14 trustdb.gpg



      $ gpg --list-secret-keys
      /home/alex/.gnupg/pubring.kbx
      -----------------------------
      sec rsa3072 2019-02-10 [SC] [expires: 2021-02-09]
      9806B421CC66EC0E4F1xxxxxxxxxx1B700F021CA
      uid [ultimate] A K <ak@gmail.com>
      ssb rsa3072 2019-02-10 [E] [expires: 2021-02-09]






      gpg






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 9 at 10:22







      kerner1000

















      asked Mar 9 at 9:22









      kerner1000kerner1000

      1328




      1328




















          1 Answer
          1






          active

          oldest

          votes


















          1














          Note that pubring.kbx is sized 2,0K on the first machine, but only 32 bytes on the second machine. So either the file has different contents or the transfer was incomplete.



          The timestamp is older on the second machine too, so I'd guess the second machine got an out-of-date version of the file for some reason.






          share|improve this answer

























          • On the other machine there is no secring.gpg as well. See edited answer.

            – kerner1000
            Mar 9 at 10:06











          • You meant "edited question", right? Anyway, here's an edited answer for you.

            – telcoM
            Mar 9 at 10:11











          • Simple as this, the file was somehow only 32 bytes, dont know why. makes me think about the reliability of unison..

            – kerner1000
            Mar 9 at 10:51











          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%2f505290%2fgpg-cannot-find-keys%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









          1














          Note that pubring.kbx is sized 2,0K on the first machine, but only 32 bytes on the second machine. So either the file has different contents or the transfer was incomplete.



          The timestamp is older on the second machine too, so I'd guess the second machine got an out-of-date version of the file for some reason.






          share|improve this answer

























          • On the other machine there is no secring.gpg as well. See edited answer.

            – kerner1000
            Mar 9 at 10:06











          • You meant "edited question", right? Anyway, here's an edited answer for you.

            – telcoM
            Mar 9 at 10:11











          • Simple as this, the file was somehow only 32 bytes, dont know why. makes me think about the reliability of unison..

            – kerner1000
            Mar 9 at 10:51















          1














          Note that pubring.kbx is sized 2,0K on the first machine, but only 32 bytes on the second machine. So either the file has different contents or the transfer was incomplete.



          The timestamp is older on the second machine too, so I'd guess the second machine got an out-of-date version of the file for some reason.






          share|improve this answer

























          • On the other machine there is no secring.gpg as well. See edited answer.

            – kerner1000
            Mar 9 at 10:06











          • You meant "edited question", right? Anyway, here's an edited answer for you.

            – telcoM
            Mar 9 at 10:11











          • Simple as this, the file was somehow only 32 bytes, dont know why. makes me think about the reliability of unison..

            – kerner1000
            Mar 9 at 10:51













          1












          1








          1







          Note that pubring.kbx is sized 2,0K on the first machine, but only 32 bytes on the second machine. So either the file has different contents or the transfer was incomplete.



          The timestamp is older on the second machine too, so I'd guess the second machine got an out-of-date version of the file for some reason.






          share|improve this answer















          Note that pubring.kbx is sized 2,0K on the first machine, but only 32 bytes on the second machine. So either the file has different contents or the transfer was incomplete.



          The timestamp is older on the second machine too, so I'd guess the second machine got an out-of-date version of the file for some reason.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 9 at 10:10

























          answered Mar 9 at 10:01









          telcoMtelcoM

          20.6k12452




          20.6k12452












          • On the other machine there is no secring.gpg as well. See edited answer.

            – kerner1000
            Mar 9 at 10:06











          • You meant "edited question", right? Anyway, here's an edited answer for you.

            – telcoM
            Mar 9 at 10:11











          • Simple as this, the file was somehow only 32 bytes, dont know why. makes me think about the reliability of unison..

            – kerner1000
            Mar 9 at 10:51

















          • On the other machine there is no secring.gpg as well. See edited answer.

            – kerner1000
            Mar 9 at 10:06











          • You meant "edited question", right? Anyway, here's an edited answer for you.

            – telcoM
            Mar 9 at 10:11











          • Simple as this, the file was somehow only 32 bytes, dont know why. makes me think about the reliability of unison..

            – kerner1000
            Mar 9 at 10:51
















          On the other machine there is no secring.gpg as well. See edited answer.

          – kerner1000
          Mar 9 at 10:06





          On the other machine there is no secring.gpg as well. See edited answer.

          – kerner1000
          Mar 9 at 10:06













          You meant "edited question", right? Anyway, here's an edited answer for you.

          – telcoM
          Mar 9 at 10:11





          You meant "edited question", right? Anyway, here's an edited answer for you.

          – telcoM
          Mar 9 at 10:11













          Simple as this, the file was somehow only 32 bytes, dont know why. makes me think about the reliability of unison..

          – kerner1000
          Mar 9 at 10:51





          Simple as this, the file was somehow only 32 bytes, dont know why. makes me think about the reliability of unison..

          – kerner1000
          Mar 9 at 10:51

















          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%2f505290%2fgpg-cannot-find-keys%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

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)