According to this article from the NY Times, a recent court ruling says that it is legal to decrypt DVD’s in order to use their content for educational uses. It also says that it is legal to jail break your iPhone in order to install software outside of the Apple store.