The U.S. and Iran are engaged in brinksmanship with a looming deadline.