split-gpg2 client exits non-zero when importing public keys #9534
Labels
affects-4.2
This issue affects Qubes OS 4.2.
C: split-gpg2
split-gpg version 2
needs diagnosis
Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
T: bug
Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Qubes OS release
R4.2
Brief summary
When import a public key for the first time to a split-gpg2 client, it has a delay as the agent doesn't respond, imports the key but exits non zero. What I am currently doing to overcome the error exit code:
^\[GNUPG:\] IMPORT_OK
appears in stderr--agent-program="$(gpgconf --list-components | awk -F: '/^gpg-agent:/{print $3}')"
Steps to reproduce
Add a new public key (not previously imported) to the client keyring.
Expected behavior
Import happens successfully and exits with code zero. The
/usr/share/split-gpg2/gpg-agent-placeholder
should reply with something useful when importing a key, not only exit zero.Actual behavior
Import happens successfully, but it has a delay and exits with code non-zero.
The text was updated successfully, but these errors were encountered: