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


Groups > alt.os.linux > #53828

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:26 +0000
Message-ID <gcob2vFas3U1@mid.individual.net> (permalink)
References <gcmcuoFioc8U1@mid.individual.net> <slrnq6c1rn.4gc.dan@xps-linux.djph.net> <gcmg54Fjd7qU1@mid.individual.net> <slrnq6d87r.4gc.dan@xps-linux.djph.net>

Show all headers | View raw


On Fri, 15 Feb 2019 11:22:35 -0000 (UTC), Dan Purgert <dan@djph.net> wrote:
>
> The config file options can be any (or all) of
>
>   no-default-keyring (disables the use of  ~/.gnupg/pubring.gpg)
>   keyring /path/to/keyring
>   primary-keyring /path/to/keyring
>   sec-keyring /path/to/keyring
>   
> Might also have "trustdb-name" set as well
>
> If none of those are defined, then gpg(2) _SHOULD_ be pulling from
> $HOME/.gnupg/pubring.gpg and $HOME/.gnupg/secring.gpg for the keys (and
> $HOME/.gnupg/trustdb.gpg for the trustdb).

The output from strace shows that "gpg --list-keys" reads
from $HOME/.gnupg/gpg.conf, which is very simple:

    peter@buchen:~$ egrep -v '^#' .gnupg/gpg.conf | uniq
    encrypt-to 33B859C9
    no-mdc-warning
    default-key 33B859C9
    force-v3-sigs
    escape-from-lines
    lock-once


>> As for system variables, Yes, it could well be something like that,
>> but again, I'm flailing.
>
> System variable would be (IIRC) $GNUPGHOME

    peter@buchen:~$ set | fgrep PG
    peter@buchen:~$ 

Here's a bonus oddity: with the -vvvv option, gpg shows that it's
finding keys, while denying that it finds 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