Hi all,
I recently started experiencing problems with GnuPG on my FreeBSD system, and they temporally correlate with the upgrade to 14.0 (however I cannot say for sure that's when it started).
I'm not sure this is the perfect place to ask, but maybe someone has any hints for further debugging.
The problem: Whenever I try to decrypt a file with
What I tried:
Is there any global configuration file that I might be overlooking? Any important directories, sockets, log files?
I recently started experiencing problems with GnuPG on my FreeBSD system, and they temporally correlate with the upgrade to 14.0 (however I cannot say for sure that's when it started).
I'm not sure this is the perfect place to ask, but maybe someone has any hints for further debugging.
The problem: Whenever I try to decrypt a file with
gpg --decrypt
, or sign with gpg --sign
, the program just hangs indefinitely.What I tried:
- Increasing verbosity:
sh:% gpg -vvvvvvvv --sign exampledocument.pdf gpg: using character set 'US-ASCII' gpg: enabled compatibility flags: [indefinite hang]
- Trying another pinentry implementation and increasing verbosity by editing gpg-agent.conf:
Code:pinentry-program /usr/local/bin/pinentry-gtk-2 debug-pinentry debug-level 1024
pkill gpg-agent
after each edit) - Running gpg-agent manually with debug options, then concurrently trigger
gpg -vvvvvvvv --sign exampledocument.pdf
sh:% gpg-agent -vvvvvv --debug --daemon gpg-agent[37384]: Optionen werden aus '/home/enum/.gnupg/gpg-agent.conf' gelesen gpg-agent[37384]: Optionen werden aus '[cmdline]' gelesen gpg-agent[37384]: enabled debug flags: mpi crypto memory cache memstat ipc
- I even created a new thick jail (fbsd14.0), copied the .gnupg directory over, tried it over there. The problem is only getting weirder:
sh:$ touch x $ gpg --sign x gpg: Warning: using insecure memory! gpg: signing failed: No such file or directory gpg: signing failed: No such file or directory
gpg --list-keys
and--list-secret-keys
do list the matching key.
- gpg / gpg-agent 2.4.3
- libgcrypt 1.10.3
- pinentry-curses / pinentry-gtk-2 / pinentry-qt5 1.2.1
Is there any global configuration file that I might be overlooking? Any important directories, sockets, log files?