Are they similar to the cotter pins which hold the pedals on a bicycle? (Bike shop?) Or are they more of a square type of thing that fits into a groove between the shaft and the pulley?
If the latter is the case, then that material can be bought from engineering supply companies in lengths that you cut to suit. It's made of hardened steel. You of course need to get the right size IE 1/8" or 1/4"square etc. We actually use loads of the stuff at work (or should I say the engineers do). I forget what the material is called for now, but I'll give it some thought.
Ahhhh!!!, just remembered......It's called keyway steel.