On 07/06/13 21:40, Tom Nakamura wrote: > What is the equivalent operation for gpg-agent?
$ gpg-connect-agent > help # NOP # CANCEL [...] # KEYINFO [--list] [--data] [--ssh-fpr] <keygrip> [...] > help keyinfo # KEYINFO [--list] [--data] [--ssh-fpr] <keygrip> # # Return information about the key specified by the KEYGRIP. If the # key is not available GPG_ERR_NOT_FOUND is returned. If the option # --list is given the keygrip is ignored and information about all # available keys are returned. The information is returned as a # status line unless --data was specified, with this format: # # KEYINFO <keygrip> <type> <serialno> <idstr> - - <fpr> # # KEYGRIP is the keygrip. # # TYPE is describes the type of the key: # 'D' - Regular key stored on disk, # 'T' - Key is stored on a smartcard (token). # '-' - Unknown type. # # SERIALNO is an ASCII string with the serial number of the # smartcard. If the serial number is not known a single # dash '-' is used instead. # # IDSTR is the IDSTR used to distinguish keys on a smartcard. If it # is not known a dash is used instead. # # FPR returns the formatted ssh-style fingerprint of the key. It is only # print if the option --ssh-fpr has been used. '-' is printed if the # fingerprint is not available. # # More information may be added in the future. OK > keyinfo --list [...] HTH, Peter. -- I use the GNU Privacy Guard (GnuPG) in combination with Enigmail. You can send me encrypted mail if you want some privacy. My key is available at <http://digitalbrains.com/2012/openpgp-key-peter> _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users