fixed mismatch in interface definition of get_secret()