New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/issues/32456#issuecomment-896859247 Comment: Yes, I know about loopback, if you start a GUI session, you should use GUI pinentry or other GUI keyrings. `pinentry-curses` will start in the same terminal you gui session was started, I also use pinentry-curses, but I know it cavet. > Thanks for your tips! I don't know much about `pinentry` stuffs, but it does work (check: https://stackoverflow.com/a/61314861). I think the `gnupg2` package should require and configure `pinentry` by default You can take it to gnupg's developer https://lists.gnupg.org/pipermail/gnupg-devel/2016-April/031012.html