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


Groups > linux.debian.bugs.dist > #809378

Bug#568375: [pkg-gnupg-maint] Bug#568375: gnupg-agent: does not work with `git tag -s`

From Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Newsgroups linux.debian.bugs.dist
Subject Bug#568375: [pkg-gnupg-maint] Bug#568375: gnupg-agent: does not work with `git tag -s`
Date 2017-02-23 19:10 +0100
Message-ID <te601-4S6-5@gated-at.bofh.it> (permalink)
References (1 earlier) <reD0l-1CR-1@gated-at.bofh.it> <sYLqy-3g8-11@gated-at.bofh.it> <taalA-36J-9@gated-at.bofh.it> <tacdH-4fX-1@gated-at.bofh.it> <te3Yd-3fj-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu 2017-02-23 10:55:24 -0500, Michal Hocko <mstsxfx@gmail.com> wrote:
> On Sun, Feb 12, 2017 at 06:47:15PM -0500, Daniel Kahn Gillmor wrote:
> [...]
>> If this report is strictly about the yubikey smartcard, we should
>> reassign it to scdaemon.  Does "git tag -S" work for you when you are
>> *not* using a smartcard?
>
> Well I am not using any smartcards. I just have my private keyring on an
> USB flash disk and 
> ~/.gnupg/secring.gpg -> /mnt/security/.gnupg/secring.gpg
>
> but that shouldn't matter, right?

gpg 2.1 does not store or use secret keys in the same way as 1.4.  In
particular, secring.gpg is no longer used, and secret key material is
stored in ~/.gnupg/private-keys-v1.d/

if you want to continue to use your USB flash disk, i recommend (when
the USB disk is inserted and mounted):

  if [ -d ~/.gnupg/private-keys-v1.d ]; then
     mv ~/.gnupg/private-keys-v1.d /mnt/security/.gnupg/
  else
     mkdir -m 0700 /mnt/security/.gnupg/private-keys-v1.d
  fi
  ln -s /mnt/security/.gnupg/private-keys-v1.d ~/.gnupg/private-keys-v1.d
  if [ -L ~/.gnupg/secring.gpg ]; thne
     rm ~/.gnupg/secring.gpg
  fi
  gpg --batch --import < /mnt/security/.gnupg/secring.gpg

Once this is done and you're sure you have access to the secret keys you
want, you can also delete /mnt/security/.gnupg/secring.gpg.

hope this helps,

     --dkg

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#568375: gnupg-agent: does not work with `git tag -s` Luca Capello <luca@pca.it> - 2017-02-12 23:00 +0100
  Bug#568375: [pkg-gnupg-maint] Bug#568375: gnupg-agent: does not work with `git tag -s` Daniel Kahn Gillmor <dkg@fifthhorseman.net> - 2017-02-13 01:00 +0100
    Bug#568375: [pkg-gnupg-maint] Bug#568375: gnupg-agent: does not work with `git tag -s` Luca Capello <luca@pca.it> - 2017-02-13 23:20 +0100
      Bug#568375: [pkg-gnupg-maint] Bug#568375: gnupg-agent: does not work with `git tag -s` Daniel Kahn Gillmor <dkg@fifthhorseman.net> - 2017-02-14 01:10 +0100
        Bug#568375: [pkg-gnupg-maint] Bug#568375: Bug#568375: gnupg-agent: does not work with `git tag -s` Werner Koch <wk@gnupg.org> - 2017-02-15 11:40 +0100
          Bug#568375: [pkg-gnupg-maint] Bug#568375: Bug#568375: gnupg-agent: does not work with `git tag -s` Daniel Kahn Gillmor <dkg@fifthhorseman.net> - 2017-02-15 16:30 +0100
            Bug#568375: [pkg-gnupg-maint] Bug#568375: Bug#568375: gnupg-agent: does not work with `git tag -s` Werner Koch <wk@gnupg.org> - 2017-02-15 19:40 +0100
              Bug#568375: [pkg-gnupg-maint] Bug#568375: Bug#568375: gnupg-agent: does not work with `git tag -s` Daniel Kahn Gillmor <dkg@fifthhorseman.net> - 2017-02-15 22:10 +0100
                Bug#568375: [pkg-gnupg-maint] Bug#568375: Bug#568375: gnupg-agent: does not work with `git tag -s` Werner Koch <wk@gnupg.org> - 2017-02-16 17:50 +0100
                Bug#568375: [pkg-gnupg-maint] Bug#568375: Bug#568375: gnupg-agent: does not work with `git tag -s` Daniel Kahn Gillmor <dkg@fifthhorseman.net> - 2017-02-17 02:40 +0100
    Bug#568375: [pkg-gnupg-maint] Bug#568375: gnupg-agent: does not work with `git tag -s` Michal Hocko <mstsxfx@gmail.com> - 2017-02-23 17:00 +0100
      Bug#568375: [pkg-gnupg-maint] Bug#568375: gnupg-agent: does not work with `git tag -s` Daniel Kahn Gillmor <dkg@fifthhorseman.net> - 2017-02-23 19:10 +0100

csiph-web