Turns out it's just "regulating". It was never illegal to begin with, the government just want in on the action apparently.
The thing is, how would this really help Iran? I know there are sanctions but would they be easily be able to sell the mined coins for, say, foreign currencies?
Thanks for the link.