It seems that Obama has actually affirmed that torture is not legal, even if done outside the US, and even if done during a war. It remains to be seen if this changes anything, or if it means another loophole will be used.
In contrast to positions previously taken by the U.S. government, the delegation will affirm that U.S. obligations under Article 16, which prohibits cruel, inhuman, or degrading treatment or punishment, do not apply exclusively inside the territorial United States. The delegation in Geneva will make clear, consistent with the text, negotiating history, and the Senate ratification process, that U.S. obligations under Article 16 (as well as under other provisions of the Convention with the same jurisdictional language) apply in places outside the United States that the U.S. government controls as a governmental authority. The delegation will also make clear our conclusion that the United States currently exercises such control at the U.S. Naval Station at Guantanamo Bay, Cuba, and over all proceedings conducted there, and with respect to U.S.-registered ships and aircraft.