that has nothing to do with ignition. it's the fork lock.
actually have a funny story, we got a stolen bike back because the thieves had thought a fork lock was the ignition and managed to lock the forks and then abandoned it (meanwhile just pushing the bike briskly would've started it)
read thru fred's guide in the wiki for troubleshooting spark. if you've tried a new plug, you can also bypass all the killswitch stuff by running the power outta the stator directly to the HT coil. my strong suspicion though would be dirty points.