HARRISBURG, Pa. (AP) – Pennsylvania’s highest court has ruled that a man charged with distributing child pornography does not have to tell police his computer password.

The court’s 4-3 decision Wednesday reaffirms the right to remain silent and acknowledges the difficulty of building cases when police confront sophisticated encryption services and other technology.

READ MORE: Live Winter Storm Tracker: Winter Storm Blankets Pittsburgh Region With Heavy Snowfall

Defendant Joseph Davis was arrested in 2015 on the charges. He has been in the Luzerne County Jail for four years while lawyers litigate the issue before trial.

READ MORE: 51-Year-Old Man Killed In Crash On Rt. 68 In Armstrong Co.

Justice Debra Todd writes that authorities cannot force people to “unlock the safe” in their minds to potentially incriminating evidence.

The state Attorney General’s Office could ask the U.S. Supreme Court to consider the issue. A message seeking comment was left with the office Wednesday.

MORE NEWS: Ben Roethlisberger Moves Into 3rd Place For Most Passing Yards In NFL Playoff History

(Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)