[Bug 259775] security/gnupg: gpgconf: fatal error (exit status 1) (referring to pinentry)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Nov 2021 11:46:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259775

            Bug ID: 259775
           Summary: security/gnupg: gpgconf: fatal error (exit status 1)
                    (referring to pinentry)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: adamw@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(adamw@FreeBSD.org)
          Assignee: adamw@FreeBSD.org

Running security/gnupg (2.3.3) on several incarnations of FreeBSD (12.2-RELENG
- 14-CURRENT). Trying to apply defaults on users via "gpgconf --apply-defaults"
results in an error:

[...]
$ gpgconf --apply-defaults
gpgconf: WARNING: invalid line in option table of '/usr/local/bin/pinentry'

gpgconf: name of config file for /usr/local/bin/pinentry is not known

gpgconf: fatal error (exit status 1)

Checking with 'gpgconf --list-config' reveals nothing extraordinary. Trying to
apply manually the by default installed profile


gpgconf --apply-profile /usr/local/share/doc/gnupg/examples/VS-NfD.prf

or any kind of self-made-profile put into the standard data dir, i.e. test.prf
located within /usr/local/share/gnupg/test.prf via 

gpgconf --apply-profile test

results in the very same strange error message, see above.

Installation is for pinentry software:

$ pkg info -xo pinentry
pinentry-1.1.1                 security/pinentry
pinentry-gnome3-1.1.1          security/pinentry-gnome3
pinentry-qt5-1.1.1             security/pinentry-qt5
pinentry-tty-1.1.1             security/pinentry-tty

-- 
You are receiving this mail because:
You are the assignee for the bug.