> Another option would be to change ‘gnupg_module_name’, in homedir.c, from: > > --8<---------------cut here---------------start------------->8--- > case GNUPG_MODULE_NAME_PINENTRY: > #ifdef GNUPG_DEFAULT_PINENTRY > return GNUPG_DEFAULT_PINENTRY; > #else > X(bindir, "pinentry"); > #endif > --8<---------------cut here---------------end--------------->8--- > > to something like: > > --8<---------------cut here---------------start------------->8--- > case GNUPG_MODULE_NAME_PINENTRY: > X(homedir, ".guix-profile/bin/pinentry); > --8<---------------cut here---------------end--------------->8--- > > … in which case GnuPG would default to the user-installed pinentry, if > available. Not perfect either, but closer to what other distros do.
I would like that, yes. It's not like the X(bindir, "pinentry") would ever work in GuixSD anyway - so no loss.