code: def _list_keys(user=None, gnupghome=None, secret=False):
      '''
      Helper function for Listing keys
      '''
      gpg = _create_gpg(user, gnupghome)
      _keys = gpg.list_keys(secret)
      return _keyf _list_keys(user=None, gnupghome=None, secret=False):
      '''
      Helper function for Listing keys
      '''
      gpg = _create_gpg(user, gnupghome)
      _keys = gpg.list_keys(secret)
      return _keys
docs: Helper function for Listing keys