Technology
This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.
Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.
Rules:
1: All Lemmy rules apply
2: Do not post low effort posts
3: NEVER post naziped*gore stuff
4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.
5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)
6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist
7: crypto related posts, unless essential, are disallowed
view the rest of the comments
IANAL but it depends. In the US there is strong protection for the contents of your mind and self-incrimination. So if your keys were locked behind a strong password the legal system wouldn't be able to access it. But if you had no password they would be able to seize the device and read the messages.
So basically if the messages are inaccessible other than a secret that you know them yes, they wouldn't be forced to reveal it.