Live data from Hacker News

PAM Duress – Alternate passwords for panic situations

github.com

81–90 of 358 posts

Re: PAM Duress – Alternate passwords for panic situations

#81
post #48

Earlier quoted context omitted.

This is also very typical for regular alarm systems with a keypad. A PIN disarms the alarms system, the same PIN + 1 disarms the alarm system and notifies security.

I worked at a place where the duress code was ROT5: 1234 was your normal access code, 6789 lerted security.

You're supposed to ROT5 mentally while in a state of high stress?

Re: PAM Duress – Alternate passwords for panic situations

#83
post #81

Earlier quoted context omitted.

I worked at a place where the duress code was ROT5: 1234 was your normal access code, 6789 lerted security.

You're supposed to ROT5 mentally while in a state of high stress?

It wasn't a well-considered plan. It also wasn't highly advertised. I found out because someone happened to mention it to me one day.

Re: PAM Duress – Alternate passwords for panic situations

#84
post #9

You could set this up with three possible passwords, #1 for normal login, #2 for what looks like normal login but deletes most sensitive things and #3 that wipes the disk encryption keys and reboots. If forced by criminals or a not so free government enter #2 and pretend everything is normal. If pressured by the US or EU government with your lawyer present enter #3, see it fail and claim you forgot the encryption key…

Using #3 could land you in jail indefinitely in the UK I believe: if they don’t believe you forgot the password, they can interpret that as a refusal to give them the password (or unlock the computer), and jail you for this… until you give them the password. Which you can’t, because there is no password at this point. So either you admit that you just wiped your computer with the panic password, or you can shut up an…

So in the UK they can put you in prison for life without being charged or found guilty of any crime unless “they believe you”? Any source on that?

Re: PAM Duress – Alternate passwords for panic situations

#85
post #56

Earlier quoted context omitted.

https://xkcd.com/538/

The duress credentials are exactly how you avoid the "pipe wrench" scenario. The point of the FDE in that case is simply to prevent them from looking on the disk without your supervision.

The duress credentials keep the pipe wrench from being useful.

They don't keep it from being applied.

Re: PAM Duress – Alternate passwords for panic situations

#87
Comments are full of gunpoint scenarios, but I think a far more likely scenario for most HN readers is law enforcement / customs agents asking you to unlock your device during travel or some other random checkpoint so they can scan it. In that case, I doubt the officer would even have a clue about the use of a duress password to selectively and silently delete some private data. I think the biggest risk would be that a scan of your device could detect the PAM config and duress script which could be a flag to monitor you more closely, or might possibly be considered illegal itself in some jurisdictions.

Re: PAM Duress – Alternate passwords for panic situations

#89

yeah there's that one guy who tried to cross the border from canada and got blocked for having scruff on his phone https://www.huffingtonpost.ca/2017/02/22/canadian-man-custom... 5 years on we're somehow all managing our own crypto keys, the phone is the key to unlock our digital lives, so we're all in the counterintelligence game. more tools like this.

Good old US. Land of the free. Canadian border agents are equally bad, in my experience. Guess it's just part and parcel with living in the Anglosphere.

Re: PAM Duress – Alternate passwords for panic situations

#90
post #48

Earlier quoted context omitted.

This is also very typical for regular alarm systems with a keypad. A PIN disarms the alarms system, the same PIN + 1 disarms the alarm system and notifies security.

I worked at a place where the duress code was ROT5: 1234 was your normal access code, 6789 lerted security.

Could use the method in The Wire: press the key on the opposite side to the usual key (e.g. 8 instead of 2, 6 instead of 4, etc.)
Post reply on HN