$ 0 0 A Canadian resident has been sentenced to death in Iran for offending the faith, after his computer program was used without his knowledge to upload pornography.