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
In some cases, the key may break across the entire opening. In such situations, it is necessary to apply shimming on the edges using veneer made from hard woods like oak or ash. Here is an additional step to include in the instructions:
Take a piece of veneer from a hard wood such as oak or ash. Make sure it is slightly larger than the cracked area of the key.
Apply a small amount of PVA glue to one side of the veneer.
Place the glue side of the veneer onto the cracked area, making sure it aligns properly.
Use wood clamps to hold the veneer in place firmly. Apply even pressure to ensure a strong bond.
Leave the clamps in place for up to 24 hours to allow the glue to set and the repair to become solid.