Agent HAVEKEY - Using the GNU Privacy Guard
Description: Using the GNU Privacy Guard

Next: Agent LEARN, Previous: Agent GET_CONFIRMATION, Up: Agent Protocol

#### 2.6.9 Check whether a key is available

This can be used to see whether a secret key is available. It does not return any information on whether the key is somehow protected.

           HAVEKEY keygrip

The Agent answers either with OK or `No_Secret_Key` (208). The caller may want to check for other error codes as well.