The Bavarian interior minister, Joachim Herrmann, has said his police force???s use of the software was lawful.In the United States, courts have permitted the FBI to use spyware to monitor computer use, including software that records keystrokes; that would have the same practical effect as capturing images of the computer screen as messages are composed.