It is salient to point out the individual almost certainly had incriminating evidence on that system. There aren't really any cases of a person being /randomly/ detained and held in contempt. Especially not a fishing expedition by the DOJ against a journalist. And if you know the act of giving away the password has some upper limit on contempt jailing vs. assured evidence against you in some much higher consequence felony wouldn't you just stay quiet? No amendment or right is absolute, but this one is rather strong, especially if you haven't, you know, been doing any crimes.