During an investigation where one is a suspect or one may have information about a suspect, is one required to relinquish passwords or keys to personal encrypted data to the authorities?
For example maybe someone has data on their personal computer in an encrypted container, data that is used or pertaining to a crime, stolen media, stolen government documents, or data that can be used to solve a crime.
The authorities have evidence that is beyond reasonable doubt that the encrypted data contains such files pertaining to the crime. This container may contain other sensitive data that does not pertain to any crime such as Social Security Numbers if that makes a difference. Does that person legally need to relinquish password or keys if asked by authorities?
This question makes me think, how secure is an encrypted file in a world run by people? Can the police come in my door, steal my computer and hold me in jail until I give up my passwords?
This question can also pertain to a company and consumer relationship where the company may hold encryption keys to consumers data.
UPDATE I'm not involved in any criminal trail nor do i have anything illegal. When does legal intervention require someone to relinquish the security of encryption? I am not one to judge when its ethically right to give up encryption keys i was just wondering when its required.