If the key is cracked near the hole, then it is necessary to glue PVA (various it's modifications). But at the same time use wood clamps here. For a more rigid connection, use a silk thread too. The thread must be wrapped around (3-4) turns of the key, squeezing the key very strongly so that the remaining glue comes out here. Then put it in the clamp there. Wait up to 24 hours for end result. Remove glue from sides of a key use sand paper 600 there.If during operation the key breaks in half again, then use epoxy glue than. This is almost 100 percent success always.Good luck,regards, Max