Hi, to generate key with this successfully I needed to write: pinentry-program /usr/pkg/bin/pinentry in ~/.gnupg/gpg-agent.conf Without this, it was failing to generate a key. It may be good to write this in MESSAGE, if it cannot be made to respect PATH.