pinentry is a small collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner.