class GPGME::Ctx

def edit_key(key, editfunc, hook_value = nil, out = Data.new)

Edit attributes of the key in the local key ring.
def edit_key(key, editfunc, hook_value = nil, out = Data.new)
  err = GPGME::gpgme_op_edit(self, key, editfunc, hook_value, out)
  exc = GPGME::error_to_exception(err)
  raise exc if exc
end