Should be easy.
Remove the key by tightly gripping each side of the key with vice grips.
Clean out the keyway.
Check for metal burrs where the keyway slot meets the outside diameter of the crank. Lightly file if needed. Check also key itself. Clean again.
Check internal diameter of the pully for burrs or damage.
Dummy fit pully with a light film of oil on both surfaces to assist sliding.
It ok refit key making sure the outside flat of key is exactly parallel to the crank shaft and key is fully home.
If pully does not slide on neatly (only a light tap should be necessary) recheck for burrs or damage and that the key is parallel.
If still not working let us know.