Forum Stats

  • 3,872,495 Users
  • 2,266,433 Discussions


pinentry program to use gpg-agent on Solaris 10

user9538862 Member Posts: 2 Blue Ribbon

Is there a pinentry program that Oracle recommends or provides for Solaris 10?  gpg-agent man page states "Please make sure that a proper pinentry program has been installed".  I have gpg-agent (GnuPG) 2.2.11 installed on Solaris 10.

This is the error I get when I attempt to create a key without a pinentry program:

gpg: agent_genkey failed: No pinentry

Key generation failed: No pinentry


  • Justin Warwick
    Justin Warwick Member Posts: 123 Bronze Badge

    I don't have Solaris 10 available any more, but on Solaris 11 I have had some luck with: /usr/lib/pinentry-curses

    which was already installed when I got to the box. Seemingly related:

    [email protected]:~# pkg info pinentry

           Name: security/pinentry

         Summary: A small utility for entering passwords.

       Description: A small collection of dialog programs that allow GnuPG to

              read passphrases and PIN numbers in a secure manner.

         Category: Applications/System Utilities

          State: Installed

        Publisher: solaris

         Version: 0.7.6

      Build Release: 5.11


      Packaging Date: October 9, 2017 08:53:04 PM

           Size: 281.84 kB

           FMRI: pkg://solaris/security/[email protected],5.11-