Although Iranian authorities accused him of running a pornography site, Amnesty has said the charges appear to stem from a software programme created by Malekpour that was used without his knowledge to post pornographic images. Such images are illegal in the Islamic republic.
Malekpour's lawyer Mahmoud Alizadeh Tabatabaei told Mehr news agency that his client had repented for his actions after his death sentence, issued by the Revolutionary Court, was confirmed by Iran's Supreme Court.
"After the sentence was confirmed my client repented for his actions. With this repentance, the death sentence has been suspended," the lawyer told Mehr. Malekpour was accused of "insulting and desecrating" Islam, according to Amnesty. There was no immediate comment or confirmation from Iranian authorities.
The Canadian government has protested Iran's handling of the case, saying this year that Malekpour had "failed to receive fair and transparent legal treatment."