File: gnupg.info, Node: Agent HAVEKEY, Next: Agent LEARN, Prev: Agent GET_CONFIRMATION, Up: Agent Protocol 2.6.11 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 KEYGRIPS The agent answers either with OK or 'No_Secret_Key' (208). The caller may want to check for other error codes as well. More than one keygrip may be given. In this case the command returns success if at least one of the keygrips corresponds to an available secret key.