I don't think the Iranian government is "blameless" in general. (If countries were individual people, all of them would be in jail, with most of them about to hang for war crimes.)
But in the very specific context of embargoing software devs (versus weapons), I do think all of the blame for that is on countries on the imposing end of embargo. Big difference between "systemWMD" and actual WMDs. ;)
The horribly broken crypto we all had to deal with in the 2000s was partially due to US trying to treat it like a "munition" and thus weakening everyone - even themselves - by the mere existence of the hobbled "export-grade" ciphers.
"If soldiers are not to cross international boundaries on missions of war, goods must cross them on missions of peace." - Mallery, Economic Union and Durable Peace
Thus, embargoes are acts of war. Also, as evidenced by this very article, they don't tend to have the desired effect on their targets anyway, instead largely affecting innocent people and especially those of lesser means.