Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #53829

Re: gnupg sees no keys

From Peter Pearson <pkpearson@nowhere.invalid>
Newsgroups alt.os.linux
Subject Re: gnupg sees no keys
Date 2019-02-15 17:37 +0000
Message-ID <gcobndFas3U2@mid.individual.net> (permalink)
References (1 earlier) <gcme5nFj47oU1@mid.individual.net> <gcmernFj75oU1@mid.individual.net> <op.zw8af3b1a3w0dxdave@hodgins.homeip.net> <gcmjc0Fjd7qU3@mid.individual.net> <op.zw8hahj6a3w0dxdave@hodgins.homeip.net>

Show all headers | View raw


On Thu, 14 Feb 2019 22:28:55 -0500, David W. Hodgins wrote:
> On Thu, 14 Feb 2019 20:36:00 -0500, Peter Pearson wrote:
>> On Thu, 14 Feb 2019 20:01:05 -0500, David W. Hodgins wrote:
>> [snip]
>>>>> Peter Pearson wrote:
>>>>>> Gnu Privacy guard, gpg, seems not to be able to find my keys:
>>>>>>
>>>>>>      $ gpg --list-keys
>>>
>>> Run it under strace, and find out where it's looking ...
>>> strace -f -o/tmp/trace.txt gpg --list-keys
>>> grep open /tmp/trace.txt |grep ring
>>
>> peter@buchen:~$ strace -f -o/tmp/trace.txt gpg --list-keys
>> peter@buchen:~$ grep open /tmp/trace.txt | grep ring
>> 19934 open("/home/peter/.gnupg/pubring.gpg", O_RDONLY|O_LARGEFILE) = 3
>> 19934 open("/home/peter/.gnupg/pubring.kbx", O_RDONLY|O_LARGEFILE) = 3
>> 19934 open("/home/peter/.gnupg/pubring.kbx", O_RDONLY|O_LARGEFILE) = 4
>
[snip]
>
> See https://superuser.com/questions/655246/are-gnupg-1-and-gnupg-2-compatible-with-each-other

Well, that's kinda depressing: it makes it look as if GnuPG has crashed
and exploded into disorganized fragmenets.

> Do you have the gnupg package available in your distribution?
> I'm using Mageia 6 for my primary linux installation.

I'm on Debian Stretch, which has packages named gnupg and gnupg2.
As an experiment, I've "sudo apt-get purged" both (which doesn't seem
to affect the $HOME/.gnupg directory) and then "sudo apt-get installed"
them, but that doesn't change anything.  I'm toying with the idea of
purging them, deleting $HOME/.gnupg, and re-installing them.

Also, as I've mentioned elsewhere on this thread, with the -vvvv
option, gpg actually seems to admit to finding some keys, while
denying that there are any:

    peter@buchen:~$ gpg -vvvv --list-keys
    gpg: using character set 'utf-8'
    gpg: using classic trust model
    gpg: key AF01E13F42FE3A7C: accepted as trusted key
    gpg: key 0DAA9AE933B859C9: accepted as trusted key
    peter@buchen:~$ 

-- 
To email me, substitute nowhere->runbox, invalid->com.

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

gnupg sees no keys Peter Pearson <pkpearson@nowhere.invalid> - 2019-02-14 23:46 +0000
  Re: gnupg sees no keys Mike Easter <MikeE@ster.invalid> - 2019-02-14 16:07 -0800
    Re: gnupg sees no keys Peter Pearson <pkpearson@nowhere.invalid> - 2019-02-15 00:19 +0000
      Re: gnupg sees no keys Mike Easter <MikeE@ster.invalid> - 2019-02-14 16:58 -0800
        Re: gnupg sees no keys Peter Pearson <pkpearson@nowhere.invalid> - 2019-02-15 01:25 +0000
      Re: gnupg sees no keys "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-02-14 20:01 -0500
        Re: gnupg sees no keys Peter Pearson <pkpearson@nowhere.invalid> - 2019-02-15 01:36 +0000
          Re: gnupg sees no keys "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-02-14 22:28 -0500
            Re: gnupg sees no keys Peter Pearson <pkpearson@nowhere.invalid> - 2019-02-15 17:37 +0000
  Re: gnupg sees no keys Dan Purgert <dan@djph.net> - 2019-02-15 00:27 +0000
    Re: gnupg sees no keys Peter Pearson <pkpearson@nowhere.invalid> - 2019-02-15 00:41 +0000
      Re: gnupg sees no keys Dan Purgert <dan@djph.net> - 2019-02-15 11:22 +0000
        Re: gnupg sees no keys Peter Pearson <pkpearson@nowhere.invalid> - 2019-02-15 17:26 +0000
          Re: gnupg sees no keys "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-02-15 12:42 -0500
            Re: gnupg sees no keys Peter Pearson <pkpearson@nowhere.invalid> - 2019-02-15 21:08 +0000
              Re: gnupg sees no keys "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-02-15 16:30 -0500
                Re: gnupg sees no keys Peter Pearson <pkpearson@nowhere.invalid> - 2019-02-16 17:14 +0000
              Re: gnupg sees no keys "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-02-15 16:41 -0500
                Re: gnupg sees no keys Peter Pearson <pkpearson@nowhere.invalid> - 2019-02-16 17:08 +0000
                Re: gnupg sees no keys "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-02-18 08:59 -0500
                Re: gnupg sees no keys Peter Pearson <pkpearson@nowhere.invalid> - 2019-02-19 16:33 +0000
                Re: gnupg sees no keys "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-02-19 11:43 -0500
                Re: gnupg sees no keys William Unruh <unruh@invalid.ca> - 2019-02-19 16:53 +0000

csiph-web