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:
(all of pinentry-curses, pinentry-gtk-2 and pinentry-qt5 are installed - same problem with each of them - yes, i didCode:pinentry-program /usr/local/bin/pinentry-gtk-2 debug-pinentry debug-level 1024pkill gpg-agentafter 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 directorygpg --list-keysand--list-secret-keysdo 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?