Page MenuHome GnuPG

gpgme-1.5.1 build stops asking for gpg-agent
Closed, ResolvedPublic

Description

I tried building gpgme-1.5.1 on NetBSD in a sandbox with a fake $HOME. It
stopped with:
gpgsm --import ./cert_g10code_test1.der
gpgsm: error creating keybox
`/scratch/security/gpgme/work/.home/.gnupg/pubring.kbx': No such file or directory
gpgsm: you may want to start the gpg-agent first
gpgsm: keyblock resource
`/scratch/security/gpgme/work/.home/.gnupg/pubring.kbx': No such file or directory

  • Error code 1

/scratch/security/gpgme/work/.home does exist, but
/scratch/security/gpgme/work/.home/.gnupg doesn't.

Details

Version
1.5.1

Event Timeline

wiz added projects: Bug Report, gpgme.
wiz added a subscriber: wiz.

This is actually a gnupg problem. What version of GnuPG are you using?
GnuPG 2.0.26 creates the home directory even if gpgsm is used first.

I was using 2.0.25 at the time. I've just retried, and 2.0.26 indeed fixes this
problem. Thanks for the hint!

wiz claimed this task.